diff options
author | Alan Pearce | 2020-02-18 11:25:10 +0100 |
---|---|---|
committer | Alan Pearce | 2020-02-18 11:25:10 +0100 |
commit | 2418ce1a45525f273b0c984d6237ee8d4bc30ee6 (patch) | |
tree | 7bdf392281914bc8b5220bd870d466e6a3699266 /user | |
parent | 94c04950e14301a33a0a3abb9414e0f92d9895eb (diff) | |
download | nixfiles-2418ce1a45525f273b0c984d6237ee8d4bc30ee6.tar.lz nixfiles-2418ce1a45525f273b0c984d6237ee8d4bc30ee6.tar.zst nixfiles-2418ce1a45525f273b0c984d6237ee8d4bc30ee6.zip |
xresources: update current environment via home-manager switch
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/xresources.nix | 3 | ||||
-rw-r--r-- | user/xresources/.xresources/main | 4 |
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: |