index.md (1095B)
1 clkanywhere 2 =========== 3 4 Description 5 ----------- 6 This patch adds a new click type `ClkAnywhere` that matches any click location 7 (bar, windows, 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 ---------------- 17 * `Mod+Button9` - view the next tag (anywhere on screen) 18 * `Mod+Button8` - view the previous tag (anywhere on screen) 19 20 Example usage 21 ------------- 22 You can bind any function to work anywhere on screen: 23 24 { ClkAnywhere, MODKEY, Button9, viewnext, {0} }, 25 { ClkAnywhere, MODKEY, Button8, viewprev, {0} }, 26 27 Download 28 -------- 29 * [dwm-clkanywhere-20260122-a9aa0d8.diff](dwm-clkanywhere-20260122-a9aa0d8.diff) 30 31 Author 32 ------ 33 * Jameel Sawafta - <jameelhsawafta@gmail.com>