mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-26 03:51:54 -05:00
river: random wallpaper bug fixes
This commit is contained in:
parent
e5a46f7b2b
commit
276dd1bd80
|
@ -11,8 +11,8 @@
|
||||||
while true; do
|
while true; do
|
||||||
kill `pidof swaybg`
|
kill `pidof swaybg`
|
||||||
random_background=$(ls $directory/*.{png,jpg} | shuf -n 1)
|
random_background=$(ls $directory/*.{png,jpg} | shuf -n 1)
|
||||||
swaybg -i $random_background
|
swaybg -i $random_background &
|
||||||
sleep 900
|
sleep 300
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue