diff options
author | Yaroslav <contact@yaroslavps.com> | 2020-05-10 00:59:59 +0300 |
---|---|---|
committer | Yaroslav <contact@yaroslavps.com> | 2020-05-10 00:59:59 +0300 |
commit | a8cc83eb26bf7f9e94f655c81331444d243e1f3d (patch) | |
tree | e81662adf913def76210b6b2acc2978505341d7d /dotfiles/.local/bin | |
parent | 64aacd4c0e7f9a54d9a651f3c11a0af35e3630ed (diff) | |
download | swayrice-a8cc83eb26bf7f9e94f655c81331444d243e1f3d.tar.gz swayrice-a8cc83eb26bf7f9e94f655c81331444d243e1f3d.zip |
sxiv script for setting background
Diffstat (limited to 'dotfiles/.local/bin')
-rwxr-xr-x | dotfiles/.local/bin/setbglsimple | 2 |
1 files changed, 1 insertions, 1 deletions
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 \ |