diff options
author | Bryson Steck <brysonsteck@protonmail.com> | 2022-12-04 00:50:27 -0700 |
---|---|---|
committer | Bryson Steck <brysonsteck@protonmail.com> | 2022-12-04 00:50:27 -0700 |
commit | 377f064d3ec4983a443650d5203618a746c9e0e8 (patch) | |
tree | 0645d8cd260401e9901b00aa2642ab00b39d4126 /patches/barheight.diff | |
parent | 8dec419f637322bb2fd866d045bc682e8916997d (diff) | |
download | dwm-377f064d3ec4983a443650d5203618a746c9e0e8.tar dwm-377f064d3ec4983a443650d5203618a746c9e0e8.tar.gz dwm-377f064d3ec4983a443650d5203618a746c9e0e8.tar.bz2 |
Diffstat (limited to 'patches/barheight.diff')
-rw-r--r-- | patches/barheight.diff | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/barheight.diff b/patches/barheight.diff deleted file mode 100644 index a576111..0000000 --- a/patches/barheight.diff +++ /dev/null @@ -1,25 +0,0 @@ -diff --git a/config.def.h b/config.def.h -index 1c0b587..9814500 100644 ---- a/config.def.h -+++ b/config.def.h -@@ -5,6 +5,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */ - static const unsigned int snap = 32; /* snap pixel */ - static const int showbar = 1; /* 0 means no bar */ - static const int topbar = 1; /* 0 means bottom bar */ -+static const int user_bh = 0; /* 0 means that dwm will calculate bar height, >= 1 means dwm will user_bh as bar height */ - static const char *fonts[] = { "monospace:size=10" }; - static const char dmenufont[] = "monospace:size=10"; - static const char col_gray1[] = "#222222"; -diff --git a/dwm.c b/dwm.c -index 4465af1..2c27cb3 100644 ---- a/dwm.c -+++ b/dwm.c -@@ -1545,7 +1545,7 @@ setup(void) - if (!drw_fontset_create(drw, fonts, LENGTH(fonts))) - die("no fonts could be loaded."); - lrpad = drw->fonts->h; -- bh = drw->fonts->h + 2; -+ bh = user_bh ? user_bh : drw->fonts->h + 2; - updategeom(); - /* init atoms */ - utf8string = XInternAtom(dpy, "UTF8_STRING", False); |