[wiki] [sites] [dmenu][patches][floatingbar] Fix swapped padding descriptions || Daniel Guihot

From: <git_AT_suckless.org>
Date: Tue, 15 Sep 2026 20:30:21 +0200

commit 16df91a0bc4df4ec422b78ad9de03730a121cfd9
Author: Daniel Guihot <daniel_AT_guihot.net>
Date: Wed Sep 16 04:26:33 2026 +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.

diff --git a/tools.suckless.org/dmenu/patches/floatingbar/index.md b/tools.suckless.org/dmenu/patches/floatingbar/index.md
index fa0916dc..59e62a0e 100644
--- a/tools.suckless.org/dmenu/patches/floatingbar/index.md
+++ b/tools.suckless.org/dmenu/patches/floatingbar/index.md
_AT_@ -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.
 
Received on Tue Sep 15 2026 - 20:30:21 CEST

This archive was generated by hypermail 2.3.0 : Tue Sep 15 2026 - 20:36:50 CEST