summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
authorAlan Pearce2019-08-27 16:16:46 +0200
committerAlan Pearce2019-08-27 16:16:46 +0200
commite658a7b8402130af9393657ccddc2cf7ded2e6a3 (patch)
tree4c02cd8b1c2e35f59f12d4a7a7ba6a5f0adf06fd /modules
parentf1dfff811175b6cb005fffc6d796a24059814029 (diff)
downloadnixos-configuration-e658a7b8402130af9393657ccddc2cf7ded2e6a3.tar.lz
nixos-configuration-e658a7b8402130af9393657ccddc2cf7ded2e6a3.tar.zst
nixos-configuration-e658a7b8402130af9393657ccddc2cf7ded2e6a3.zip
wm: configure x correctly at startup
Diffstat (limited to 'modules')
-rw-r--r--modules/programs/window-manager.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/programs/window-manager.nix b/modules/programs/window-manager.nix
index 391ec44..313bd45 100644
--- a/modules/programs/window-manager.nix
+++ b/modules/programs/window-manager.nix
@@ -9,8 +9,8 @@
        greeters.enso.enable = true;
      };
      sessionCommands = ''
-       ${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c' &
-       ${pkgs.hsetroot}/bin/hsetroot -solid '#4d4d4c'
+       ${pkgs.xorg.xrdb}/bin/xrdb -merge $HOME/.xresources/main
+       ${pkgs.xorg.xsetroot}/bin/xsetroot -cursor_name left_ptr -solid '#4d4d4c'
        ${pkgs.networkmanagerapplet}/bin/nm-applet &
      '';
    };