summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/settings/xresources.nix3
-rw-r--r--user/xresources/.xresources/main4
2 files changed, 3 insertions, 4 deletions
diff --git a/user/settings/xresources.nix b/user/settings/xresources.nix
index 475113de..075eeb22 100644
--- a/user/settings/xresources.nix
+++ b/user/settings/xresources.nix
@@ -4,5 +4,8 @@
   home.file.".xresources" = {
     recursive = true;
     source = ../xresources/.xresources;
+    onChange = ''
+      ${pkgs.xorg.xrdb}/bin/xrdb -merge .xresources/main
+    '';
   };
 }
diff --git a/user/xresources/.xresources/main b/user/xresources/.xresources/main
index 2c2a3f71..6a9a4898 100644
--- a/user/xresources/.xresources/main
+++ b/user/xresources/.xresources/main
@@ -51,7 +51,3 @@ xterm*VT100.Translations: #override \
                  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: