all repos — nixfiles @ cccd7b935256615718b83663a24df887d7422f80

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

user/settings/xresources.nix (view raw)

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