Kill user session before exiting sway so that programs aren't still running in the new session
This commit is contained in:
parent
6a82d574f5
commit
7396945594
|
@ -2,5 +2,6 @@
|
||||||
if [ -z ${SWAYSOCK+x} ]; then
|
if [ -z ${SWAYSOCK+x} ]; then
|
||||||
i3 exit
|
i3 exit
|
||||||
else
|
else
|
||||||
|
sudo systemctl stop user@$(id -u).service
|
||||||
sway exit
|
sway exit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue