From 855a7d04f6e50d997fdf45da899b883917d413a2 Mon Sep 17 00:00:00 2001 From: awy Date: Fri, 31 Jan 2025 17:38:38 +0300 Subject: rust --- .local/bin/hyprslideshow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/hyprslideshow b/.local/bin/hyprslideshow index 0edcc74..d917017 100755 --- a/.local/bin/hyprslideshow +++ b/.local/bin/hyprslideshow @@ -16,7 +16,7 @@ sleep 1 while true; do hyprctl hyprpaper unload all if ! pidof Hyprland > /dev/null; then rm $XDG_RUNTIME_DIR/wallpaper_wait.pid; exit; fi - new_wp=$(find ${IMG_PATH} -type f | shuf -n1) + new_wp=$(fd . $IMG_PATH -t f -E "tiles" -E "unsafe" | shuf -n1) hyprctl hyprpaper preload $new_wp monitors_json=$(hyprctl monitors -j) monitors_count=$(echo $monitors_json | jq length) -- cgit v1.2.3