diff --git a/home-manager/modules/screenlocker/default.nix b/home-manager/modules/screenlocker/default.nix index 9f6337c..a370410 100644 --- a/home-manager/modules/screenlocker/default.nix +++ b/home-manager/modules/screenlocker/default.nix @@ -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