Fixed blurred background for wlogout. Create blurred version with magick

This commit is contained in:
Stephan Raabe
2024-02-27 10:36:51 +01:00
parent ede46d7ef4
commit 950df3d84c
5 changed files with 25 additions and 3 deletions

View File

@@ -63,7 +63,7 @@ esac
# Load current pywal color scheme
# -----------------------------------------------------
source "$HOME/.cache/wal/colors.sh"
echo "Wallpaper: $wallpaper"
echo ":: Wallpaper: $wallpaper"
# -----------------------------------------------------
# Write selected wallpaper into .cache files
@@ -101,4 +101,8 @@ swww img $wallpaper \
sleep 1
notify-send "Colors and Wallpaper updated" "with image $newwall"
# Create blurred version of new wallaper
magick $wallpaper -blur 0x8 ~/.cache/current_wallpaper_blur
echo ":: Blurred version of wallaper created in ~/.cache/current_wallpaper_blur."
echo "DONE!"