commit 16df91a0bc4df4ec422b78ad9de03730a121cfd9
parent 9fd6d17e232b36312d7454464ab48b29de9a5200
Author: Daniel Guihot <daniel@guihot.net>
Date: Wed, 16 Sep 2026 04:26:33 +1000
[dmenu][patches][floatingbar] Fix swapped padding descriptions
barpadh is added to the window x coordinate and subtracted twice from
its width, so it sets the padding on the sides. barpadv is added to the
window y coordinate, so it sets the padding from the top or bottom edge.
Swap the "Vertical" and "Horizontal" labels so the descriptions match
what the diff actually does.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools.suckless.org/dmenu/patches/floatingbar/index.md b/tools.suckless.org/dmenu/patches/floatingbar/index.md
@@ -13,10 +13,10 @@ colour. By default, the border colour inherits the `-sb` value, matching
the default behaviour of dwm.
#### Example configuration
-- `barpadh` (`int`) – Vertical padding: distance between the bar and the
-top of the screen.
-- `barpadv` (`int`) – Horizontal padding: distance between the bar and the
+- `barpadh` (`int`) – Horizontal padding: distance between the bar and the
sides of the screen.
+- `barpadv` (`int`) – Vertical padding: distance between the bar and the
+top of the screen.
- `barheight` (`int`) – Bar height.
- `barborder` (`int`) – Border width.