blob: cc5492c0cfd8ec998e13a1e45bf9ff8cd64f998b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/sh
filename="/tmp/herbstluftwm-gap"
while read -r line
do
gap=$line
if [ "$gap" -le 90 ]
then
gap=$((gap+7))
herbstclient set window_gap $gap
echo $gap > $filename
fi
done < "$filename"
|