diff options
Diffstat (limited to '')
-rwxr-xr-x | herbstluftwm/code/sys/herbstluftwm-remove-gap | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/herbstluftwm/code/sys/herbstluftwm-remove-gap b/herbstluftwm/code/sys/herbstluftwm-remove-gap new file mode 100755 index 0000000..65c397a --- /dev/null +++ b/herbstluftwm/code/sys/herbstluftwm-remove-gap @@ -0,0 +1,11 @@ +#!/bin/bash +filename="/tmp/herbstluftwm-gap" +while read -r line +do + gap=$line + if [ "$gap" -ge 0 ]; then + gap=$((gap-10)) + herbstclient set window_gap $gap + fi + echo $gap > $filename +done < "$filename" |