aboutsummaryrefslogtreecommitdiff
path: root/herbstluftwm/code/sys/herbstluftwm-add-gap
blob: 08b5a03e4fbb97c653056ad26a731ec0dfc5a5dc (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
filename="/tmp/herbstluftwm-gap"
while read -r line
do
	gap=$line
	gap=$((gap+10))
    herbstclient set window_gap $gap
    echo $gap > $filename
done < "$filename"