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

From: sqweek <sqweek_AT_gmail.com>
Date: Sat Sep 29 10:53:14 2007

changeset: 2208:c5d16dc9b2b6
user: sqweek <sqweek_AT_gmail.com>
date: Sat Sep 29 01:08:57 2007 +0800
summary: Fixed MOD-Control-t to actually toggle keybinds instead of just erasing them (thanks niteling)

diff -r 4aad330203cb -r c5d16dc9b2b6 rc/wmiirc.sh
--- a/rc/wmiirc.sh Thu Sep 27 23:46:50 2007 +0800
+++ b/rc/wmiirc.sh Sat Sep 29 01:08:57 2007 +0800
@@ -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
Received on Sat Sep 29 2007 - 10:53:14 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:58:21 UTC