Stop the sway-session.target when exiting sway.
This commit is contained in:
parent
99edb2d161
commit
d537aa599b
@ -11,6 +11,7 @@ let
|
||||
text = ''
|
||||
# Trigger graphical-session.target through sway-session.target so systemd user units can depend on it.
|
||||
exec systemctl --user start sway-session.target
|
||||
exec swaymsg -t subscribe '["shutdown"]' && systemctl --user stop sway-session.target
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
Loading…
x
Reference in New Issue
Block a user