Wmii: Jump to named tagThe standard configuration in wmii where you can jump to the tag 3 by pressing Mod-3 and tagging a window with 3 by pressing Mod-Shift-3 is very convenient. But you quickly end up by not naming your tags but using the "names" 1-9 instead. I have changed my configurations slightly so Mod2-m jumps to the first tag starting with m (e.g. music) and Mod2-Shift-m tags the current window with the first tag starting with m. These are my changes: In .Xmodmap I have set Caps Lock to be mod4:
in .wmii-3.5/wmiirc I have added this code in the begining:
And after the definition of MODKEY I have a definition for MODKEY2: I have made a loop to add all the keys to the 'wmiir write /keys', this I have just before 'wmiir write /keys':
And in the event loop I have this code: And that's it.
|