summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2020-02-18 11:25:10 +0100
committerAlan Pearce2020-02-18 11:25:10 +0100
commit2418ce1a45525f273b0c984d6237ee8d4bc30ee6 (patch)
tree7bdf392281914bc8b5220bd870d466e6a3699266 /user/settings
parent94c04950e14301a33a0a3abb9414e0f92d9895eb (diff)
downloadnixfiles-2418ce1a45525f273b0c984d6237ee8d4bc30ee6.tar.lz
nixfiles-2418ce1a45525f273b0c984d6237ee8d4bc30ee6.tar.zst
nixfiles-2418ce1a45525f273b0c984d6237ee8d4bc30ee6.zip
xresources: update current environment via home-manager switch
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/xresources.nix3
1 files changed, 3 insertions, 0 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
+    '';
   };
 }