mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:53:55 -05:00
randomWallpaper: use [[]] instead of []
This commit is contained in:
parent
2c968598b7
commit
c7a02e12ec
|
@ -44,7 +44,7 @@
|
|||
NEW_PIDS+=($!)
|
||||
done
|
||||
|
||||
if [ ''${OLD_PIDS[@]} -gt 0 ]; then
|
||||
if [[ ''${OLD_PIDS[@]} -gt 0 ]]; then
|
||||
sleep 5
|
||||
for pid in ''${OLD_PIDS[@]}; do
|
||||
kill $pid
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
NEW_PIDS+=($!)
|
||||
done
|
||||
|
||||
if [ ''${OLD_PIDS[@]} -gt 0 ]; then
|
||||
if [[ ''${OLD_PIDS[@]} -gt 0 ]]; then
|
||||
sleep 5
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue