Adjust font sizes and monitor scaling

This commit is contained in:
Evie Litherland-Smith 2024-07-08 11:24:43 +01:00
parent 5eefdf2026
commit 7533532e2f
4 changed files with 12 additions and 16 deletions

View file

@ -44,10 +44,10 @@
accentColourName = "base0E"; accentColourName = "base0E";
fonts = with iosevkaCustom; rec { fonts = with iosevkaCustom; rec {
sizes = { sizes = {
applications = 12; applications = 14;
desktop = 10; desktop = 12;
popups = 14; popups = 16;
terminal = 12; terminal = 14;
}; };
serif = sansSerif; serif = sansSerif;
sansSerif = { sansSerif = {

View file

@ -1,12 +1,9 @@
{...}: { {...}: {
imports = [./personal.nix]; imports = [./personal.nix];
wayland.windowManager.sway.config = { wayland.windowManager.sway.config.workspaceOutputAssign = [
output."eDP-1".scale = "1.25"; {
workspaceOutputAssign = [ output = "eDP-1";
{ workspace = "1";
output = "eDP-1"; }
workspace = "1"; ];
}
];
};
} }

View file

@ -9,13 +9,12 @@
output = { output = {
"Microstep MSI G27CQ4 E2 Unknown" = { "Microstep MSI G27CQ4 E2 Unknown" = {
mode = "2560x1440@120Hz"; mode = "2560x1440@120Hz";
scale = "1.33";
position = "1920 0"; position = "1920 0";
adaptive_sync = "on"; adaptive_sync = "on";
}; };
"Acer Technologies ED270R TJMEE0043W01" = { "Acer Technologies ED270R TJMEE0043W01" = {
mode = "1920x1080@120Hz"; mode = "1920x1080@120Hz";
position = "0 105"; position = "0 140";
adaptive_sync = "off"; adaptive_sync = "off";
}; };
}; };

View file

@ -247,7 +247,7 @@
in '' in ''
* { * {
all: unset; 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}; font-family: ${fonts.monospace.name};
} }