This commit is contained in:
2026-07-29 16:45:19 +02:00
parent 10cc9e5c71
commit 49abca4710
20 changed files with 258 additions and 644 deletions

View File

@@ -13,10 +13,10 @@ else
LAST_WALLPAPER=-1
fi
until [[ -e "$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.hyprpaper.sock" ]]
do
sleep 0.1
done
# until [[ -e "$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.hyprpaper.sock" ]]
# do
# sleep 0.1
# done
for filename in $(ls *.{jpg,JPG,png,PNG} | sort -g)
do
@@ -35,7 +35,8 @@ sleep 1
if [[ "$LAST_WALLPAPER" != "$FOUND" || "$( hyprctl layers | grep hyprpaper )" == "" ]] ;then
echo "change to $FOUND"
hyprctl hyprpaper wallpaper ",$FOUND"
awww img "$HOME/wallpaper/$FOUND" --transition-fps 60
magick "$HOME/wallpaper/$FOUND" -blur 0x20 - | awww img - -t none -n _backdrop
fi
echo "LAST_WALLPAPER=$FOUND" > last.txt