Adjust font sizes and monitor scaling
This commit is contained in:
parent
5eefdf2026
commit
7533532e2f
|
@ -44,10 +44,10 @@
|
|||
accentColourName = "base0E";
|
||||
fonts = with iosevkaCustom; rec {
|
||||
sizes = {
|
||||
applications = 12;
|
||||
desktop = 10;
|
||||
popups = 14;
|
||||
terminal = 12;
|
||||
applications = 14;
|
||||
desktop = 12;
|
||||
popups = 16;
|
||||
terminal = 14;
|
||||
};
|
||||
serif = sansSerif;
|
||||
sansSerif = {
|
||||
|
|
|
@ -1,12 +1,9 @@
|
|||
{...}: {
|
||||
imports = [./personal.nix];
|
||||
wayland.windowManager.sway.config = {
|
||||
output."eDP-1".scale = "1.25";
|
||||
workspaceOutputAssign = [
|
||||
{
|
||||
output = "eDP-1";
|
||||
workspace = "1";
|
||||
}
|
||||
];
|
||||
};
|
||||
wayland.windowManager.sway.config.workspaceOutputAssign = [
|
||||
{
|
||||
output = "eDP-1";
|
||||
workspace = "1";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
|
|
@ -9,13 +9,12 @@
|
|||
output = {
|
||||
"Microstep MSI G27CQ4 E2 Unknown" = {
|
||||
mode = "2560x1440@120Hz";
|
||||
scale = "1.33";
|
||||
position = "1920 0";
|
||||
adaptive_sync = "on";
|
||||
};
|
||||
"Acer Technologies ED270R TJMEE0043W01" = {
|
||||
mode = "1920x1080@120Hz";
|
||||
position = "0 105";
|
||||
position = "0 140";
|
||||
adaptive_sync = "off";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -247,7 +247,7 @@
|
|||
in ''
|
||||
* {
|
||||
all: unset;
|
||||
font-size: ${toString (builtins.floor (builtins.div fonts.sizes.popups 10))}em;
|
||||
font-size: ${toString fonts.sizes.popups}px;
|
||||
font-family: ${fonts.monospace.name};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue