diff options
author | Alan Pearce | 2017-11-29 15:25:55 +0100 |
---|---|---|
committer | Alan Pearce | 2017-11-29 15:25:55 +0100 |
commit | ed348b500c4ba09fdd7975d064072e6338aed379 (patch) | |
tree | cd8e5b17aac19f53f02c6f744f0df824d599153a /modules/programs | |
parent | 55180c37c7f05695ef7c4073eca334ae5fdf7ace (diff) | |
download | nixos-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.nix | 4 |
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; |