dotfiles

*nix config files
git clone git://git.pyratebeard.net/dotfiles.git
Log | Files | Refs | README

herbstluftwm-add-gap (203B)


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