aboutsummaryrefslogtreecommitdiff
path: root/gui/hidpi.nix
blob: d687ca758248efc561d3383085d0524d203a1d1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{ 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
  '';
}