summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-12-04 11:51:25 +0100
committerlassulus <lassulus@lassul.us>2017-12-04 11:51:25 +0100
commit99468fec8fe675ffd224ded2ff91ed22c021bb52 (patch)
tree43b4d5c1cc4b0b94161f60ff1563f17281187b57
parent054d0cceb132d5f5766de31b3e859c4786fb0661 (diff)
l xresources: add updateXresources cmd
-rw-r--r--lass/3modules/xresources.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lass/3modules/xresources.nix b/lass/3modules/xresources.nix
index bf7e2a015..017dbff2b 100644
--- a/lass/3modules/xresources.nix
+++ b/lass/3modules/xresources.nix
@@ -49,5 +49,10 @@ in
services.xserver.displayManager.sessionCommands = ''
${pkgs.xorg.xrdb}/bin/xrdb -merge ${xres}
'';
+ environment.systemPackages = [
+ (pkgs.writeDashBin "updateXresources" ''
+ ${pkgs.xorg.xrdb}/bin/xrdb -merge ${xres}
+ '')
+ ];
};
}