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
|
||||
i3 exit
|
||||
else
|
||||
sudo systemctl stop user@$(id -u).service
|
||||
sway exit
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue