Echo found image
This commit is contained in:
@@ -84,6 +84,7 @@ while true
|
|||||||
# Select and process image
|
# Select and process image
|
||||||
set image (fdfind -e jpg -e jpeg -e png -e webp . $WALLPAPER_DIR | shuf -n 1)
|
set image (fdfind -e jpg -e jpeg -e png -e webp . $WALLPAPER_DIR | shuf -n 1)
|
||||||
if test -n "$image"
|
if test -n "$image"
|
||||||
|
echo "Found image: $image"
|
||||||
convert "$image" \
|
convert "$image" \
|
||||||
-resize {$width}x{$height}^ \
|
-resize {$width}x{$height}^ \
|
||||||
-gravity center \
|
-gravity center \
|
||||||
|
|||||||
Reference in New Issue
Block a user