index.md - sites - public wiki contents of suckless.org
(HTM) git clone git://git.suckless.org/sites
(DIR) Log
(DIR) Files
(DIR) Refs
---
index.md (1570B)
---
1 barpadding
2 ==========
3
4 Description
5 -----------
6 This patch adds variables for verticle and horizontal space between the statusbar and the edge of the screen; unlike [statuspadding](../statuspadding/), which adds padding between the bar's content and the edge of the bar. This patch adds two new variables (both default to 10) to config.def.h:
7 * `vertpad` (amount of vertical padding)
8 * `sidepad` (amount of padding either side of the bar)
9
10 Compatible with both top and bottom bars as well as the togglebar function.
11
12 Please note the following:
13 * Modifies config.def.h, not config.h. You may need to add `rm config.h` to the 'clean' targets in the Makefile.
14 * Does not add padding between the statusbar and the window clients. This is so that if you apply the [fullgaps](../fullgaps/) patch or similar, there will be equal space between the windows/screen edge and windows/bar.
15 * May need `resizehints` to be set to 0 to make the patch look proper, especially if your bar is on the bottom. Modify the 'resizehints' variable in config.def.h.
16
17 Screenshots:
18 
19
20 Download
21 --------
22 * [dwm-barpadding-6.6.diff](dwm-barpadding-6.6.diff) (2025-11-18)
23 * [dwm-barpadding-6.2.diff](dwm-barpadding-6.2.diff) (2019-12-10)
24 * [dwm-barpadding-20200720-bb2e722.diff](dwm-barpadding-20200720-bb2e722.diff) (2020-07-20)
25 * [dwm-barpadding-20211020-a786211.diff](dwm-barpadding-20211020-a786211.diff) (2021-10-20)
26
27 Author
28 ------
29 * Alex Cole
30 * Pavel Oborin [pavel@oborin.xyz](mailto:pavel@oborin.xyz) (20200720-bb2e722 port)
31 * Markus Hanetzok (2025-11-18)