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