mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 01:33:55 -05:00
swya/hyprland: check for OLD_PIDS before pausing
This commit is contained in:
parent
973fa2f27f
commit
978ebba43e
|
@ -20,7 +20,9 @@
|
|||
NEW_PIDS+=($!)
|
||||
done
|
||||
|
||||
sleep 5
|
||||
if [ ''${OLD_PIDS[@]} -gt 0 ]; then
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
for pid in ''${OLD_PIDS[@]}; do
|
||||
kill $pid
|
||||
|
|
|
@ -21,7 +21,9 @@
|
|||
NEW_PIDS+=($!)
|
||||
done
|
||||
|
||||
sleep 5
|
||||
if [ ''${OLD_PIDS[@]} -gt 0 ]; then
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
for pid in ''${OLD_PIDS[@]}; do
|
||||
kill $pid
|
||||
|
|
Loading…
Reference in a new issue