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: the variable (renamed from user_bh to barspacing) is instead added to the font size. As a result, the bar height respects the DPI (which defines the font height).

Authors