From cec64613630b68a8b0e286df862a92ce555a6bdc Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Fri, 1 Feb 2019 18:46:54 +0100 Subject: Add custom config key for enabling hidpi mode If this approach works as well as I hope it might become advantageous to nixify e.g. XMonad configuration. --- gui/hidpi.nix | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 gui/hidpi.nix (limited to 'gui/hidpi.nix') diff --git a/gui/hidpi.nix b/gui/hidpi.nix deleted file mode 100644 index d687ca7..0000000 --- a/gui/hidpi.nix +++ /dev/null @@ -1,25 +0,0 @@ -{ pkgs, ... }: - -{ - xresources.extraConfig = '' - Xft.dpi: 160 - Xft.autohint: 0 - Xft.lcdfilter: lcddefault - Xft.hintstyle: hintfull - Xft.hinting: 1 - Xft.antialias: 1 - Xft.rgba: rgb - ''; - - xsession.pointerCursor.size = 48; - - home.file.".config/twmn/twmn.conf".text = '' - [gui] - font_size=24 - height=32 - ''; - - programs.rofi.extraConfig = '' - rofi.dpi: 160 - ''; -} -- cgit v1.2.3