Stop the sway-session.target when exiting sway.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user