summary refs log tree commit diff stats
path: root/modules/programs
diff options
context:
space:
mode:
authorAlan Pearce2017-11-29 15:25:55 +0100
committerAlan Pearce2017-11-29 15:25:55 +0100
commited348b500c4ba09fdd7975d064072e6338aed379 (patch)
treecd8e5b17aac19f53f02c6f744f0df824d599153a /modules/programs
parent55180c37c7f05695ef7c4073eca334ae5fdf7ace (diff)
downloadnixos-configuration-ed348b500c4ba09fdd7975d064072e6338aed379.tar.lz
nixos-configuration-ed348b500c4ba09fdd7975d064072e6338aed379.tar.zst
nixos-configuration-ed348b500c4ba09fdd7975d064072e6338aed379.zip
window-manager: Set root window properties
Use hsetroot and xsetroot to work across compositors
Diffstat (limited to 'modules/programs')
-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 3f4e305..50484ae 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;