all repos — nixfiles @ b5157acb6f8cfc8d5bc7337dac977173e98ec880

System and user configuration, managed by nix and home-manager

user/settings/xresources.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, pkgs, ... }:

{
  home.file.".xresources" = {
    recursive = true;
    source = ../xresources;
    onChange = ''
      if [[ -n "$DISPLAY" ]]; then
        ${pkgs.xorg.xrdb}/bin/xrdb -merge .xresources/main
      fi
    '';
  };
}