index.md (1080B)
1 clkanywhere 2 =========== 3 4 Description 5 ----------- 6 This patch adds a new click type, `ClkAnywhere`, that matches any click location 7 (bar, windows, or root window). This allows defining mouse button bindings that 8 work anywhere on the screen with a single config entry, rather than duplicating 9 bindings for each click location. 10 11 The patch also includes `viewnext` and `viewprev` functions for cyclic tag 12 navigation with wrap-around (tag 9 wraps to tag 1 and vice versa), as well as 13 `Button8` and `Button9` definitions for extended mouse buttons. 14 15 ### Default bindings 16 - `Mod+Button9` view the next tag (anywhere on screen) 17 - `Mod+Button8` view the previous tag (anywhere on screen) 18 19 ### Example usage 20 You can bind any function to work anywhere on screen: 21 ```sh 22 { ClkAnywhere, MODKEY, Button9, viewnext, {0} }, 23 { ClkAnywhere, MODKEY, Button8, viewprev, {0} }, 24 ``` 25 26 Download 27 -------- 28 * [dwm-clkanywhere-20260122-a9aa0d8.diff](dwm-clkanywhere-20260122-a9aa0d8.diff) 29 30 Author 31 ------ 32 * Jameel Sawafta - <jameelhsawafta@gmail.com>