[wiki] [sites] [dwm][patch][titlecolor] Updated for ed3ab6b4 onwards || Jack Bird
commit a80e6e877ab4c9bc35c3ec2af87c77528bfc346b
Author: Jack Bird <jack.bird_AT_durham.ac.uk>
Date: Fri Aug 20 00:38:37 2021 +0100
[dwm][patch][titlecolor] Updated for ed3ab6b4 onwards
diff --git a/dwm.suckless.org/patches/titlecolor/dwm-titlecolor-20210815-ed3ab6b4.diff b/dwm.suckless.org/patches/titlecolor/dwm-titlecolor-20210815-ed3ab6b4.diff
new file mode 100644
index 00000000..f0e5b368
--- /dev/null
+++ b/dwm.suckless.org/patches/titlecolor/dwm-titlecolor-20210815-ed3ab6b4.diff
_AT_@ -0,0 +1,47 @@
+From 45a45a0e67f3841d8c4aed2c52b57c2a7ddf2a9a Mon Sep 17 00:00:00 2001
+From: Jack Bird <jack.bird_AT_durham.ac.uk>
+Date: Sun, 15 Aug 2021 23:15:52 +0100
+Subject: [PATCH] Updated title color patch for 7162335
+
+---
+ 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 a2ac963..5b9ae00 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 5e4d494..73d335e 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_@ -731,7 +731,7 @@ drawbar(Monitor *m)
+
+ if ((w = m->ww - tw - 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.32.0
+
diff --git a/dwm.suckless.org/patches/titlecolor/index.md b/dwm.suckless.org/patches/titlecolor/index.md
index 7f76385c..b0df4b1b 100644
--- a/dwm.suckless.org/patches/titlecolor/index.md
+++ b/dwm.suckless.org/patches/titlecolor/index.md
_AT_@ -8,6 +8,7 @@ Adds a new color scheme used by the window title in the bar, so that its colors
Download
--------
+* [dwm-titlecolor-20210815-ed3ab6b4.diff](dwm-titlecolor-20210815-ed3ab6b4.diff)(2021-08-15)
* [dwm-titlecolor-20190206-6.2.diff](dwm-titlecolor-20190206-6.2.diff) (2019-02-06)
* [dwm-titlecolor-6.1.diff](dwm-titlecolor-6.1.diff) (2018-12-31)
_AT_@ -15,3 +16,4 @@ 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)
+* Jack Bird <jack.bird_AT_dur.ac.uk> (20210815-ed3ab6b4)
Received on Fri Aug 20 2021 - 01:39:28 CEST
This archive was generated by hypermail 2.3.0
: Fri Aug 20 2021 - 01:48:42 CEST