bar height
This patch allows user to change dwm's default bar height.
Usage
Change user_bh
variable in you're config.h If user_bh
is equal to 0 dwm will calculate bar height like it did before.
static const int user_bh = 0; /* 0 means that dwm will calculate bar height, >= 1 means dwm will user_bh as bar height */
Download
The following patch is following the way mentioned in [Archwiki](https://wiki.archlinux.org/title/Dwm#Spacearoundfontindwm'sbar): the variable (renamed from `userbhto
barspacing`) is instead added to the font size. As a result, the bar height respects the DPI (which defines the font height).
- dwm-bar-height-spacing-6.3.diff (2022-05-19)
Authors
- bit6tream bit6tream@cock.li (bit6tream's gitlab): original patch
- Acid Bong (github):
bar-height-spacing
patch