clkanywhere
Description
This patch adds a new click type, ClkAnywhere, that matches any click location
(bar, windows, or root window). This allows defining mouse button bindings that
work anywhere on the screen with a single config entry, rather than duplicating
bindings for each click location.
The patch also includes viewnext and viewprev functions for cyclic tag
navigation with wrap-around (tag 9 wraps to tag 1 and vice versa), as well as
Button8 and Button9 definitions for extended mouse buttons.
Default bindings
Mod+Button9view the next tag (anywhere on screen)Mod+Button8view the previous tag (anywhere on screen)
Example usage
You can bind any function to work anywhere on screen:
`sh
{ ClkAnywhere, MODKEY, Button9, viewnext, {0} },
{ ClkAnywhere, MODKEY, Button8, viewprev, {0} },
`
Download
Author
- Jameel Sawafta - jameelhsawafta@gmail.com