fixed fs apps and feh conflict

This commit is contained in:
2026-06-27 20:22:58 +07:00
parent a1ac1e967e
commit d31924face
2 changed files with 5 additions and 6 deletions
+2 -5
View File
@@ -1,7 +1,4 @@
#!/bin/bash
wall_dir="${1:?wallpaper directory required}"
while true; do
img=$(find "$wall_dir" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) | shuf -n1)
[ -n "$img" ] && feh --bg-fill "$img"
sleep 1200
done
img=$(find "$wall_dir" -type f \( -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.png" \) | shuf -n1)
[ -n "$img" ] && feh --bg-fill "$img"