sway: Restart kanshi on reload

master
Peter Cai 3 months ago
parent 68e7eac999
commit 4b0e5c04ee

@ -271,3 +271,7 @@ for_window [app_id="pavucontrol"] floating enable
# Start the systemd-user target for sway and import environment
# Makes service management a bit cleaner
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
# Restart kanshi if it is running
# This restores monitor configuration on reload
exec_always "systemctl --user is-active kanshi && systemctl --user restart kanshi"

Loading…
Cancel
Save