summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-11-29 15:25:55 +0100
committerAlan Pearce2017-11-29 15:25:55 +0100
commited348b500c4ba09fdd7975d064072e6338aed379 (patch)
treecd8e5b17aac19f53f02c6f744f0df824d599153a
parent55180c37c7f05695ef7c4073eca334ae5fdf7ace (diff)
downloadnixfiles-ed348b500c4ba09fdd7975d064072e6338aed379.tar.lz
nixfiles-ed348b500c4ba09fdd7975d064072e6338aed379.tar.zst
nixfiles-ed348b500c4ba09fdd7975d064072e6338aed379.zip
window-manager: Set root window properties
Use hsetroot and xsetroot to work across compositors
-rw-r--r--modules/programs/window-manager.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix
index 3f4e3055..50484ae1 100644
--- a/modules/programs/window-manager.nix
+++ b/modules/programs/window-manager.nix
@@ -5,6 +5,10 @@
      lightdm = {
        enable = true;
      };
+     sessionCommands = ''
+       ${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c' &
+       ${pkgs.hsetroot}/bin/hsetroot -solid '#4d4d4c'
+     '';
    };
     xautolock = {
       enable = true;