add swww wallpaper cycling on unlock

This commit is contained in:
2026-06-13 11:18:56 +02:00
parent 4b7761924a
commit f6ba060b2f
3 changed files with 12 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
WALLPAPER=$(find "$HOME/.config/sway/wallpapers" -maxdepth 1 -type f \( -name "*.png" -o -name "*.jpg" -o -name "*.jpeg" \) | shuf -n 1)
swww img "$WALLPAPER" --transition-type random --transition-duration 2 --transition-fps 60