l baseX: run xmonad only in xmonad session
This commit is contained in:
parent
aef9e595f0
commit
87bc9a72ee
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue