diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-08-07 13:29:53 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-08-07 13:29:53 +0300 |
commit | 916163d1b7cb06438aa3c0285c515061d0480dd0 (patch) | |
tree | 9235d7f50afbdac6651cf4876996c057de1a55b8 /dotfiles | |
parent | b275593ce8e1ea60947cc08ef6a5c70f969cb3cd (diff) | |
download | swayrice-916163d1b7cb06438aa3c0285c515061d0480dd0.tar.gz swayrice-916163d1b7cb06438aa3c0285c515061d0480dd0.zip |
setbglblur: avoid changing alpha channel
Diffstat (limited to 'dotfiles')
-rwxr-xr-x | dotfiles/.local/bin/setbglblur | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dotfiles/.local/bin/setbglblur b/dotfiles/.local/bin/setbglblur index 2618702..c187ba3 100755 --- a/dotfiles/.local/bin/setbglblur +++ b/dotfiles/.local/bin/setbglblur @@ -8,7 +8,9 @@ barheight=$(echo ""$scale" * 27" | bc -l) convert "$1" -resize "$horizontal"x"$vertical"^ -gravity center \ -extent "$horizontal"x"$vertical" ~/.config/lockwall.png convert ~/.config/lockwall.png \ + -channel rgb \ -brightness-contrast -20,-20 \ + +channel \ -paint 1 \ -noise 0x8 \ -blur 9,9 \ |