initial commit

This commit is contained in:
wt committed 2024-04-27 19:49:08 +07:00
commit 9b154e1ba6
43 files changed
+4809

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
#!/bin/sh
directory=~/Pictures/hyprpaper
monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'`
while [ true ]; do
if [ -d "$directory" ]; then
for monitor in $monitors; do
random_background=$(ls $directory/* | shuf -n 1)
extention="${random_background##*.}"
echo $extention
if [[ "$extention" == "jpg" ]]; then
swww img -o $monitor $random_background --transition-type random
elif [[ "$extention" == "mp4" ]]; then
mpvpaper $monitor $random_background
fi
done
fi
sleep 30
done
#swww img -o VGA-1 /home/tola/Pictures/hyprpaper/calder-moore-aliencrack-01-copy.jpg --transition-type wipe