commit bccca7faea304ca2ed5acd25c480b9b31ac6e8b9
parent 5cfa7bed8cc8ac8b4d1ec6478a3495d8b9200c63
Author: Leon Plickat <leonhenrik.plickat@stud.uni-goettingen.de>
Date: Sun, 24 Feb 2019 19:45:09 +0100
dwm/patches: Update 'activetagindicatorbar' for dwm 6.2
The author send this to me via email (as I am the author of the original
patch for 6.1), so I will upload it to the wiki and add him to the
authors of this patch.
Diffstat:
2 files changed, 23 insertions(+), 5 deletions(-)
diff --git a/dwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.2.diff b/dwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.2.diff
@@ -0,0 +1,17 @@
+diff -up dwm-a/dwm.c dwm-b/dwm.c
+--- dwm-a/dwm.c 2019-02-02 06:55:28.000000000 -0600
++++ dwm-b/dwm.c 2019-02-23 21:43:13.359179100 -0600
+@@ -719,9 +719,10 @@ drawbar(Monitor *m)
+ drw_setscheme(drw, scheme[m->tagset[m->seltags] & 1 << i ? SchemeSel : SchemeNorm]);
+ drw_text(drw, x, 0, w, bh, lrpad / 2, tags[i], urg & 1 << i);
+ if (occ & 1 << i)
+- drw_rect(drw, x + boxs, boxs, boxw, boxw,
+- m == selmon && selmon->sel && selmon->sel->tags & 1 << i,
+- urg & 1 << i);
++ drw_rect(drw, x + boxw, 0, w - ( 2 * boxw + 1), boxw,
++ m == selmon && selmon->sel && selmon->sel->tags & 1 << i,
++ urg & 1 << i);
++
+ x += w;
+ }
+ w = blw = TEXTW(m->ltsymbol);
diff --git a/dwm.suckless.org/patches/activetagindicatorbar/index.md b/dwm.suckless.org/patches/activetagindicatorbar/index.md
@@ -13,9 +13,10 @@ and the top of the bar.
Download
--------
-* [dwm-activetagindicatorbar-6.1.diff](dwm-activetagindicatorbar-6.1.diff) (15.1.2019)
-
-Author
-------
-* Leon Plickat <leonhenrik[dot]plickat[at]stud[dot]uni-goettingen[dot]de>
+* [dwm-activetagindicatorbar-6.1.diff](dwm-activetagindicatorbar-6.1.diff) (15.01.2019)
+* [dwm-activetagindicatorbar-6.2.diff](dwm-activetagindicatorbar-6.2.diff) (24.01.2019)
+Authors
+-------
+* Leon Plickat <leonhenrik.plickat[at]stud.uni-goettingen.de> (6.1)
+* Griffin Bruno <griffinbruno[at]disroot.org> (6.2)