commit 8bc6f6a05b2b3dd67df30a5d5296833a59bce0d5
parent 0ce088b70ab72822c96c078d8f5ff740662314e2
Author: elbachir-one <bachiralfa@gmail.com>
Date: Fri, 23 Jan 2026 05:44:55 +0100
[dwm][patches][clkanywhere] Fixed index.md
Diffstat:
1 file changed, 10 insertions(+), 11 deletions(-)
diff --git a/dwm.suckless.org/patches/clkanywhere/index.md b/dwm.suckless.org/patches/clkanywhere/index.md
@@ -3,8 +3,8 @@ clkanywhere
Description
-----------
-This patch adds a new click type `ClkAnywhere` that matches any click location
-(bar, windows, root window). This allows defining mouse button bindings that
+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.
@@ -12,17 +12,16 @@ 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+Button9` - view the next tag (anywhere on screen)
-* `Mod+Button8` - view the previous tag (anywhere on screen)
+### Default bindings
+- `Mod+Button9` view the next tag (anywhere on screen)
+- `Mod+Button8` view the previous tag (anywhere on screen)
-Example usage
--------------
+### Example usage
You can bind any function to work anywhere on screen:
-
- { ClkAnywhere, MODKEY, Button9, viewnext, {0} },
- { ClkAnywhere, MODKEY, Button8, viewprev, {0} },
+```sh
+{ ClkAnywhere, MODKEY, Button9, viewnext, {0} },
+{ ClkAnywhere, MODKEY, Button8, viewprev, {0} },
+```
Download
--------