From a8cc83eb26bf7f9e94f655c81331444d243e1f3d Mon Sep 17 00:00:00 2001 From: Yaroslav Date: Sun, 10 May 2020 00:59:59 +0300 Subject: sxiv script for setting background --- dotfiles/.local/bin/setbglsimple | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.local/bin') diff --git a/dotfiles/.local/bin/setbglsimple b/dotfiles/.local/bin/setbglsimple index dacd9c8..28869cd 100755 --- a/dotfiles/.local/bin/setbglsimple +++ b/dotfiles/.local/bin/setbglsimple @@ -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" * 28" | bc -l) +barheight=$(echo ""$scale" * 27" | bc -l) convert $1 -resize ${horizontal}x${vertical}\> ~/.config/lockwall.png convert ~/.config/lockwall.png \ -- cgit v1.2.3