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";
fonts = with iosevkaCustom; rec {
sizes = {
applications = 12;
desktop = 10;
popups = 14;
terminal = 12;
applications = 14;
desktop = 12;
popups = 16;
terminal = 14;
};
serif = sansSerif;
sansSerif = {

View file

@ -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";
}
];
}

View file

@ -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";
};
};

View file

@ -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};
}