From ed348b500c4ba09fdd7975d064072e6338aed379 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 29 Nov 2017 15:25:55 +0100 Subject: window-manager: Set root window properties Use hsetroot and xsetroot to work across compositors --- modules/programs/window-manager.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/programs/window-manager.nix') 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; -- cgit 1.4.1