add variable dpi per system
parent
ed68e3359b
commit
9731c42015
|
@ -7,12 +7,13 @@ i3 = with_lock: pkgs.callPackage ./i3/i3.nix {
|
|||
inherit (bin) screenshot_public;
|
||||
inherit with_lock;
|
||||
};
|
||||
xres = dpi: pkgs.callPackage ./x/default.nix { inherit dpi; };
|
||||
in lib.mapAttrs (k: paths:
|
||||
pkgs.symlinkJoin { inherit paths; name = "dotfiles-${k}"; }
|
||||
) {
|
||||
ascanius = [(i3 true)];
|
||||
woodhouse = [(i3 false)];
|
||||
ascanius = [(i3 true) (xres 109)];
|
||||
woodhouse = [(i3 false) (xres 44)];
|
||||
pennyworth = [];
|
||||
frumar = [];
|
||||
jarvis = [(i3 true)];
|
||||
jarvis = [(i3 true) (xres 192)];
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ URxvt*background: [85]#002b36
|
|||
URxvt.scrollstyle: plain
|
||||
URxvt.scrollBar_right: true
|
||||
URxvt.perl-ext-common: default,matcher,font-size,vtwheel
|
||||
URxvt.url-launcher: firefox
|
||||
URxvt.url-launcher: chromium
|
||||
URxvt.matcher.button: 1
|
||||
URxvt.urgentOnBell: True
|
||||
URxvt.depth: 32
|
||||
|
@ -73,3 +73,5 @@ rofi.font: Source Code Pro 12
|
|||
URxvt.font-size.step: 4
|
||||
URxvt.keysym.C-equal: perl:font-size:increase
|
||||
URxvt.keysym.C-minus: perl:font-size:decrease
|
||||
|
||||
#include "/home/yorick/dotfiles/result/setdpi"
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
{writeTextDir, dpi ? 96}:
|
||||
|
||||
writeTextDir "setdpi" ''
|
||||
Xft.dpi: ${toString dpi}
|
||||
*dpi: ${toString dpi}
|
||||
''
|
Loading…
Reference in New Issue