summaryrefslogtreecommitdiffstats
path: root/tv/2configs/xserver
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-11-28 17:03:15 +0100
committertv <tv@krebsco.de>2018-11-28 17:05:27 +0100
commit2b9d361f7f8ef6334c4832d6eb87f2b6008e352f (patch)
treed7f2aad0e4902b5cd0f3a163aebe3afa29956bd2 /tv/2configs/xserver
parentef418b19a05177b9cbac4febc77a79e437aa4851 (diff)
tv xmonad: wait for shutdown to complete
Diffstat (limited to 'tv/2configs/xserver')
-rw-r--r--tv/2configs/xserver/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix
index a44ece8b1..199ffcaf8 100644
--- a/tv/2configs/xserver/default.nix
+++ b/tv/2configs/xserver/default.nix
@@ -101,7 +101,7 @@ in {
"\${XMONAD_DATA_DIR}"
]}";
ExecStart = "${pkgs.xmonad-tv}/bin/xmonad-${currentSystem}";
- ExecStop = "${pkgs.xmonad-tv}/bin/xmonad-${currentSystem} --shutdown";
+ ExecStop = "${pkgs.xmonad-tv}/bin/xmonad-${currentSystem} --shutdown $MAINPID";
User = cfg.user.name;
WorkingDirectory = cfg.user.home;
};