all repos — nixfiles @ 2418ce1a45525f273b0c984d6237ee8d4bc30ee6

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

xresources: update current environment via home-manager switch
Alan Pearce alan@alanpearce.eu
Tue, 18 Feb 2020 11:25:10 +0100
commit

2418ce1a45525f273b0c984d6237ee8d4bc30ee6

parent

94c04950e14301a33a0a3abb9414e0f92d9895eb

2 files changed, 3 insertions(+), 4 deletions(-)

jump to
M user/settings/xresources.nixuser/settings/xresources.nix
@@ -4,5 +4,8 @@ {   home.file.".xresources" = {
     recursive = true;
     source = ../xresources/.xresources;
+    onChange = ''
+      ${pkgs.xorg.xrdb}/bin/xrdb -merge .xresources/main
+    '';
   };
 }
M user/xresources/.xresources/mainuser/xresources/.xresources/main
@@ -51,7 +51,3 @@ Ctrl Shift <Key>V:    insert-selection(CLIPBOARD) \n\                  Ctrl Shift <Key>C:    copy-selection(CLIPBOARD) \n\
                  Alt  Shift <Key>V:    insert-selection(CLIPBOARD) \n\
                  Alt  Shift <Key>C:    copy-selection(CLIPBOARD)
-
-! Local Variables:
-! compile-command: (concat "xrdb -merge " (shell-quote-argument buffer-file-name))
-! End: