[wiki] [sites] new port of titlecolor patch for 2019 02 06 || knary
commit e83f4be059dc126dd377655fddf477455869812e
Author: knary <theknary_AT_gmail.com>
Date: Wed Feb 6 22:12:20 2019 -0500
new port of titlecolor patch for 2019 02 06
diff --git a/dwm.suckless.org/patches/titlecolor/dwm-titlecolor-20190206-b15016b.diff b/dwm.suckless.org/patches/titlecolor/dwm-titlecolor-20190206-b15016b.diff
new file mode 100644
index 00000000..fecf8f3c
--- /dev/null
+++ b/dwm.suckless.org/patches/titlecolor/dwm-titlecolor-20190206-b15016b.diff
_AT_@ -0,0 +1,47 @@
+From b15016b717c88eb378d87703dcf2169b6059047c Mon Sep 17 00:00:00 2001
+From: knary <theknary_AT_gmail.com>
+Date: Wed, 6 Feb 2019 21:44:19 -0500
+Subject: [PATCH] Adds title bar color scheme, seperating it from SchemeSel.
+
+---
+ config.def.h | 1 +
+ dwm.c | 4 ++--
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/config.def.h b/config.def.h
+index 1c0b587..48e7ace 100644
+--- a/config.def.h
++++ b/config.def.h
+_AT_@ -16,6 +16,7 @@ static const char *colors[][3] = {
+ /* fg bg border */
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+ [SchemeSel] = { col_gray4, col_cyan, col_cyan },
++ [SchemeTitle] = { col_gray4, col_cyan, col_cyan },
+ };
+
+ /* tagging */
+diff --git a/dwm.c b/dwm.c
+index 4465af1..216e1f3 100644
+--- a/dwm.c
++++ b/dwm.c
+_AT_@ -59,7 +59,7 @@
+
+ /* enums */
+ enum { CurNormal, CurResize, CurMove, CurLast }; /* cursor */
+-enum { SchemeNorm, SchemeSel }; /* color schemes */
++enum { SchemeNorm, SchemeSel, SchemeTitle }; /* color schemes */
+ enum { NetSupported, NetWMName, NetWMState, NetWMCheck,
+ NetWMFullscreen, NetActiveWindow, NetWMWindowType,
+ NetWMWindowTypeDialog, NetClientList, NetLast }; /* EWMH atoms */
+_AT_@ -730,7 +730,7 @@ drawbar(Monitor *m)
+
+ if ((w = m->ww - sw - x) > bh) {
+ if (m->sel) {
+- drw_setscheme(drw, scheme[m == selmon ? SchemeSel : SchemeNorm]);
++ drw_setscheme(drw, scheme[m == selmon ? SchemeTitle : SchemeNorm]);
+ drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0);
+ if (m->sel->isfloating)
+ drw_rect(drw, x + boxs, boxs, boxw, boxw, m->sel->isfixed, 0);
+--
+2.20.1
+
diff --git a/dwm.suckless.org/patches/titlecolor/index.md b/dwm.suckless.org/patches/titlecolor/index.md
index f695cc23..7dffc67e 100644
--- a/dwm.suckless.org/patches/titlecolor/index.md
+++ b/dwm.suckless.org/patches/titlecolor/index.md
_AT_@ -9,7 +9,9 @@ Adds a new color scheme used by the window title in the bar, so that its colors
Download
--------
* [dwm-titlecolor-6.1.diff](dwm-titlecolor-6.1.diff) (31.12.2018)
+* [dwm-titlecolor-20190206-b15016b.diff](dwm-titlecolor-20190206-b15016b.diff) (06.02.2019)
Author
------
* Leon Plickat <leonhenrik[dot]plickat[at]stud[dot]uni-goettingen[dot]de>
+* knary - [theknary_AT_gmail.com](mailto:theknary_AT_gmail.com) (20190206-b15016b port)
Received on Thu Feb 07 2019 - 04:15:13 CET
This archive was generated by hypermail 2.3.0
: Thu Feb 07 2019 - 04:24:28 CET