Adjust font sizes and monitor scaling
This commit is contained in:
parent
5eefdf2026
commit
7533532e2f
|
@ -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 = {
|
||||||
|
|
|
@ -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";
|
output = "eDP-1";
|
||||||
workspace = "1";
|
workspace = "1";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -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};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue