all repos — nixfiles @ ed348b500c4ba09fdd7975d064072e6338aed379

System and user configuration, managed by nix and home-manager

window-manager: Set root window properties

Use hsetroot and xsetroot to work across compositors
Alan Pearce alan@alanpearce.eu
Wed, 29 Nov 2017 15:25:55 +0100
commit

ed348b500c4ba09fdd7975d064072e6338aed379

parent

55180c37c7f05695ef7c4073eca334ae5fdf7ace

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M modules/programs/window-manager.nixmodules/programs/window-manager.nix
@@ -5,6 +5,10 @@ displayManager = {      lightdm = {
        enable = true;
      };
+     sessionCommands = ''
+       ${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c' &
+       ${pkgs.hsetroot}/bin/hsetroot -solid '#4d4d4c'
+     '';
    };
     xautolock = {
       enable = true;