diff options
Diffstat (limited to 'gui/hidpi.nix')
-rw-r--r-- | gui/hidpi.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gui/hidpi.nix b/gui/hidpi.nix new file mode 100644 index 0000000..36898e2 --- /dev/null +++ b/gui/hidpi.nix @@ -0,0 +1,27 @@ +{ pkgs, ... }: + +{ + home.sessionVariables = { + GDK_SCALE = "2"; + GDK_DPI_SCALE = "0.5"; + }; + + xresources.extraConfig = '' + Xft.dpi: 160 + Xft.autohint: 0 + Xft.lcdfilter: lcddefault + Xft.hintstyle: hintfull + Xft.hinting: 1 + Xft.antialias: 1 + Xft.rgba: rgb + ''; + + home.file.".config/twmn/twmn.conf".text = '' + font_size=24 + height=32 + ''; + + programs.rofi.extraConfig = '' + rofi.dpi: 160 + ''; +} |