"Bartosz Trudnowski" <[EMAIL PROTECTED]> wrote:
> BTW. In wmii-2.5 there was 'bare' key mode, which I miss sometimes...

Try this:

--- /usr/local/etc/wmii-3/wmiirc        2006-04-11 20:22:13.678962320
+0200 +++ .wmii-3/wmiirc        2006-04-11 20:38:48.957656960 +0200
@@ -44,7 +44,16 @@
 proglist $OLD_PATH >/tmp/ns.$USER.$DISPLAY/progs &
 
 # SHORTCUTS
+
+setbarekeys() {
 wmiir write /def/keys <<EOF
+$MODKEY-Escape
+EOF
+}
+
+setnormkeys() {
+wmiir write /def/keys <<EOF
+$MODKEY-b
 $MODKEY-h
 $MODKEY-l
 $MODKEY-j
@@ -87,6 +96,9 @@
 $MODKEY-Control-j
 $MODKEY-Control-k
 EOF
+}
+
+setnormkeys
 
 # EVENT LOOP
 wmiir read /event 2>/dev/null |
@@ -104,6 +116,10 @@
                xwrite /ctl view "$1";;
        Key)
                case "$1" in
+               $MODKEY-Escape)
+                       setnormkeys;;
+               $MODKEY-b)
+                       setbarekeys;;
                $MODKEY-h)
                        xwrite /view/ctl select prev;;
                $MODKEY-l)

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to