diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2015-11-03 00:17:53 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2015-11-03 00:17:53 -0300 |
commit | f852bfd75bec7e53febeb3e753fce5752b423d97 (patch) | |
tree | 8a6d843950435eb4ef756938863ed326b2faeec3 /herbstluftwm/mvrs.sh | |
parent | 50787494e9dcbed9fa3caa96cba46a0c40d321d8 (diff) | |
download | dotfiles-f852bfd75bec7e53febeb3e753fce5752b423d97.tar.gz |
Update herbstluftwm
Diffstat (limited to 'herbstluftwm/mvrs.sh')
-rwxr-xr-x | herbstluftwm/mvrs.sh | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/herbstluftwm/mvrs.sh b/herbstluftwm/mvrs.sh deleted file mode 100755 index f7b3c14..0000000 --- a/herbstluftwm/mvrs.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# ./mvrs WINID X Y Width Height - -floating=$(herbstclient get_attr tags.focus.floating) - -if [[ x"$floating" == xfalse ]] -then - resizestep=0.02 - herbstclient resize $1 $2 -else - resizestep=15 - winid="$(herbstclient get_attr clients.focus.winid)" - - width=$(xwininfo -id "${winid}" | grep Width | awk '{print $2}') - height=$(xwininfo -id "${winid}" | grep Height | awk '{print $2}') - - case $1 in - left) - width=$(($width - ${resizestep})) - ;; - right) - width=$(($width + ${resizestep})) - ;; - up) - height=$(($height - ${resizestep})) - ;; - down) - height=$(($height + ${resizestep})) - ;; - esac - - - ~/.config/herbstluftwm/bin/mvrs ${winid} $width $height -fi - |