aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.local/bin/setbglblur
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-25 18:06:20 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2020-10-25 18:06:20 +0300
commitd36d789940c5ea4519fddcb01b985104c7858aa6 (patch)
treef839f2ab48c66e2f4839976021083db5ee7e673f /dotfiles/.local/bin/setbglblur
parent49889fc2619e28e0f1e7501551d80e3d6619e30a (diff)
downloadswayrice-d36d789940c5ea4519fddcb01b985104c7858aa6.tar.gz
swayrice-d36d789940c5ea4519fddcb01b985104c7858aa6.zip
Adapt scripts to new waybar height
(I know this is a bit hacky)
Diffstat (limited to 'dotfiles/.local/bin/setbglblur')
-rwxr-xr-xdotfiles/.local/bin/setbglblur2
1 files changed, 1 insertions, 1 deletions
diff --git a/dotfiles/.local/bin/setbglblur b/dotfiles/.local/bin/setbglblur
index c187ba3..96c1757 100755
--- a/dotfiles/.local/bin/setbglblur
+++ b/dotfiles/.local/bin/setbglblur
@@ -3,7 +3,7 @@
vertical=$(swaymsg -t get_outputs | jq ".[0].current_mode.height")
horizontal=$(swaymsg -t get_outputs | jq ".[0].current_mode.width")
scale=$(swaymsg -t get_outputs | jq ".[0].scale")
-barheight=$(echo ""$scale" * 27" | bc -l)
+barheight=$(echo ""$scale" * 30" | bc -l)
convert "$1" -resize "$horizontal"x"$vertical"^ -gravity center \
-extent "$horizontal"x"$vertical" ~/.config/lockwall.png