initial commit
This commit is contained in:
commit
9b154e1ba6
43 files changed
+4809
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
directory=~/Pictures/hyprpaper/images
|
||||
monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'`
|
||||
|
||||
echo $(ls $directory/*)
|
||||
|
||||
while [ true ]; do
|
||||
if [ -d "$directory" ]; then
|
||||
for monitor in $monitors; do
|
||||
random_background=$(ls $directory/* | shuf -n 1)
|
||||
|
||||
hyprctl hyprpaper unload all
|
||||
hyprctl hyprpaper preload $random_background
|
||||
hyprctl hyprpaper wallpaper "$monitor, $random_background"
|
||||
done
|
||||
fi
|
||||
sleep 60
|
||||
done
|
||||
|
||||
Reference in new issue
Block a user