summary refs log tree commit diff stats
path: root/user/settings/xresources.nix
blob: 14d2b4fca5ccedc6793bfde7b1c165d6054d7716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config
, pkgs
, ...
}: {
  home.file.".xresources" = {
    recursive = true;
    source = ../xresources;
    onChange = ''
      if [[ -n "$DISPLAY" ]]; then
        ${pkgs.xorg.xrdb}/bin/xrdb -merge .xresources/main
      fi
    '';
  };
}