From b77a58479bbb6ba8c07f05cdcfa3868d7046c11a Mon Sep 17 00:00:00 2001 From: Hannes Date: Mon, 8 Jun 2026 23:56:23 +0200 Subject: [PATCH] fixed blur --- modules/wp/set-wallpaper.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/wp/set-wallpaper.sh b/modules/wp/set-wallpaper.sh index 3d293a5..1f5a9b6 100755 --- a/modules/wp/set-wallpaper.sh +++ b/modules/wp/set-wallpaper.sh @@ -67,7 +67,7 @@ fi ### Blured Wallpaper for wlogout blur="50x30" -static_wallpaper_dir="$HOME/Pictures/Wallpapers/Static" +static_wallpaper_dir="$WALLPAPER_DIR/Static" if [ ! -d $static_wallpaper_dir ]; then mkdir -p $static_wallpaper_dir; @@ -79,8 +79,9 @@ echo "$image" > $current_wallpaper blurred_wp="$static_wallpaper_dir/blurred.jpg" -if [ -x "/usr/bin/sddm" ]; then +if [ -x "/usr/bin/magick" ]; then magick $image -blur $blur $blurred_wp + echo "magick $image -blur $blur $blurred_wp" else cp $image $blurred_wp fi