background.sh for dwm added
This commit is contained in:
1 parent
b9040b87dc
commit
5e7cddd075
2 files changed
+14
-1
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
directory=~/Pictures/hyprpaper/images
|
||||
|
||||
while true; do
|
||||
if [ -d "$directory" ]; then
|
||||
random_background=$(ls $directory/* | shuf -n 1)
|
||||
|
||||
feh --bg-fill $random_background
|
||||
fi
|
||||
sleep 60
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user