Reload sway if active

This commit is contained in:
exu 2023-11-18 13:20:06 +01:00
parent 6b6acbdf94
commit 7322fc9d84

View File

@ -531,6 +531,10 @@ fi
# i3-msg restart 1>/dev/null
#fi
if [ $XDG_SESSION_DESKTOP == "sway" ]; then
swaymsg reload
fi
# wait for all background jobs to finish
wait $pids && echo "Finished background jobs"