1 #!/bin/bash
   2 
   3 grep ^gaps ~/.config/i3/config |
   4 while read cmd key value; do
   5     i3-msg $cmd $key current toggle $value
   6 done