Fixed MOD-Control-t to actually toggle keybinds instead of just erasing them (thanks niteling)

This commit is contained in:
sqweek 2007-09-29 01:08:57 +08:00
parent 88277eb6c7
commit 93e500e6eb

View File

@ -100,7 +100,7 @@ eventstuff() {
Key $MODKEY-Control-t
case $(wmiir read /keys | wc -l | tr -d ' \t\n') in
0|1)
echo -n \$Keys | tr ' ' '\012' | wmiir write /keys
echo -n $Keys | tr ' ' '\012' | wmiir write /keys
wmiir xwrite /ctl grabmod $MODKEY;;
*)
wmiir xwrite /keys $MODKEY-Control-t