fixed blur

This commit is contained in:
Hannes
2026-06-08 23:56:23 +02:00
parent c37db71cac
commit b77a58479b
+3 -2
View File
@@ -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