[wiki] [sites] Added patch file for tabbed-bar-height-0.6 || Luna Hensley
commit fbc6e218a6e4f436234620fd92e63aafa56cc107
Author: Luna Hensley <hens25252_AT_protonmail.com>
Date: Tue Mar 30 21:09:50 2021 -0700
Added patch file for tabbed-bar-height-0.6
diff --git a/tools.suckless.org/tabbed/patches/bar-height/index.md b/tools.suckless.org/tabbed/patches/bar-height/index.md
new file mode 100644
index 00000000..90c85174
--- /dev/null
+++ b/tools.suckless.org/tabbed/patches/bar-height/index.md
_AT_@ -0,0 +1,11 @@
+Bar Height
+========
+This patch allows the height of the bar to be manually specified.
+
+Download
+--------
+* [tabbed-bar-height-0.6.diff](tabbed-bar-height-0.6.diff)
+
+Author
+------
+* Luna Hensley - hens25252_AT_protonmail.com
diff --git a/tools.suckless.org/tabbed/patches/bar-height/tabbed-bar-height-0.6.diff b/tools.suckless.org/tabbed/patches/bar-height/tabbed-bar-height-0.6.diff
new file mode 100644
index 00000000..fddcb28d
--- /dev/null
+++ b/tools.suckless.org/tabbed/patches/bar-height/tabbed-bar-height-0.6.diff
_AT_@ -0,0 +1,24 @@
+diff --color -up tabbed-0.6-clean/config.def.h tabbed-0.6-modified/config.def.h
+--- tabbed-0.6-clean/config.def.h 2014-01-21 10:22:03.000000000 -0800
++++ tabbed-0.6-modified/config.def.h 2021-03-30 20:23:45.752478278 -0700
+_AT_@ -10,7 +10,7 @@ static const char before[] = "<";
+ static const char after[] = ">";
+ static const int tabwidth = 200;
+ static const Bool foreground = True;
+-
++static const int barHeight = 24;
+ /*
+ * Where to place a new tab when it is opened. When npisrelative is True,
+ * then the current position is changed + newposition. If npisrelative
+diff --color -up tabbed-0.6-clean/tabbed.c tabbed-0.6-modified/tabbed.c
+--- tabbed-0.6-clean/tabbed.c 2014-01-21 10:22:03.000000000 -0800
++++ tabbed-0.6-modified/tabbed.c 2021-03-30 20:24:23.712477426 -0700
+_AT_@ -920,7 +920,7 @@ setup(void) {
+ screen = DefaultScreen(dpy);
+ root = RootWindow(dpy, screen);
+ initfont(font);
+- bh = dc.h = dc.font.height + 2;
++ bh = dc.h = barHeight;
+
+ /* init atoms */
+ wmatom[WMProtocols] = XInternAtom(dpy, "WM_PROTOCOLS", False);
Received on Wed Mar 31 2021 - 06:10:03 CEST
This archive was generated by hypermail 2.3.0
: Wed Mar 31 2021 - 06:12:46 CEST