summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-02-22 18:34:24 +0100
committerlassulus <lassulus@lassul.us>2018-02-22 18:34:24 +0100
commit87bc9a72eec639f8a73414e498ee2674355af640 (patch)
treebef67fd4971bd296feb99d04b4c98b109532db7d
parentaef9e595f021ca9c6676d743b24b7de2a2592f5d (diff)
l baseX: run xmonad only in xmonad session
-rw-r--r--lass/2configs/baseX.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/lass/2configs/baseX.nix b/lass/2configs/baseX.nix
index 93189b0d3..2b7a5c924 100644
--- a/lass/2configs/baseX.nix
+++ b/lass/2configs/baseX.nix
@@ -122,13 +122,14 @@ in {
name = "xmonad";
start = ''
${pkgs.xorg.xhost}/bin/xhost +LOCAL:
+ ${pkgs.systemd}/bin/systemctl --user start xmonad
exec ${pkgs.coreutils}/bin/sleep infinity
'';
}];
};
systemd.user.services.xmonad = {
- wantedBy = [ "graphical-session.target" ];
+ #wantedBy = [ "graphical-session.target" ];
environment = {
DISPLAY = ":${toString config.services.xserver.display}";
RXVT_SOCKET = "%t/urxvtd-socket";