diff options
author | Adrian Kummerlaender | 2019-01-31 21:33:14 +0100 |
---|---|---|
committer | Adrian Kummerlaender | 2019-01-31 21:33:14 +0100 |
commit | 717c4c3ce8b5570a53ec8c4d50be00a087b48a70 (patch) | |
tree | ba3839b977028dcb4b060324092bc06486e54409 /gui/hidpi.nix | |
parent | 320c62f041a93373982099aafdc6b0c3ff31bf05 (diff) | |
parent | 259408dd40cffbc46400e182f366b2e139a07950 (diff) | |
download | nixos_home-717c4c3ce8b5570a53ec8c4d50be00a087b48a70.tar nixos_home-717c4c3ce8b5570a53ec8c4d50be00a087b48a70.tar.gz nixos_home-717c4c3ce8b5570a53ec8c4d50be00a087b48a70.tar.bz2 nixos_home-717c4c3ce8b5570a53ec8c4d50be00a087b48a70.tar.lz nixos_home-717c4c3ce8b5570a53ec8c4d50be00a087b48a70.tar.xz nixos_home-717c4c3ce8b5570a53ec8c4d50be00a087b48a70.tar.zst nixos_home-717c4c3ce8b5570a53ec8c4d50be00a087b48a70.zip |
Merge branch 'playground/athena'
Diffstat (limited to 'gui/hidpi.nix')
-rw-r--r-- | gui/hidpi.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gui/hidpi.nix b/gui/hidpi.nix new file mode 100644 index 0000000..5ea63c2 --- /dev/null +++ b/gui/hidpi.nix @@ -0,0 +1,28 @@ +{ 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 = '' + [gui] + font_size=24 + height=32 + ''; + + programs.rofi.extraConfig = '' + rofi.dpi: 160 + ''; +} |