Reload sway if active
This commit is contained in:
parent
6b6acbdf94
commit
7322fc9d84
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user