fixed blur
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user