Fix imagemagick's convert not behaving exactly like feh

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2023-06-12 01:06:16 +02:00
parent 04ac85ae0a
commit dd559bfcf0

View file

@ -18,7 +18,7 @@ let
if ! [[ -e "$IMAGEFILE" ]]
then
convert "$HOME/.config/wallpaper" -gravity Center -background "#000000" -extent "$SCREEN_RESOLUTION" "$IMAGEFILE"
convert "$HOME/.config/wallpaper" -gravity Center -background "#000000" -resize "$SCREEN_RESOLUTION^" -extent "$SCREEN_RESOLUTION" "$IMAGEFILE"
fi
if [[ -e /dev/fd/''${XSS_SLEEP_LOCK_FD:--1} ]]; then