[wiki] [sites] dwm/patches: Update 'activetagindicatorbar' for dwm 6.2 || Leon Plickat

From: <git_AT_suckless.org>
Date: Sun, 24 Feb 2019 19:47:20 +0100

commit bccca7faea304ca2ed5acd25c480b9b31ac6e8b9
Author: Leon Plickat <leonhenrik.plickat_AT_stud.uni-goettingen.de>
Date: Sun Feb 24 19:45:09 2019 +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.

diff --git a/dwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.2.diff b/dwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.2.diff
new file mode 100644
index 00000000..4450099f
--- /dev/null
+++ b/dwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.2.diff
_AT_@ -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
+_AT_@ -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
index 2166d6df..9a5d8719 100644
--- a/dwm.suckless.org/patches/activetagindicatorbar/index.md
+++ b/dwm.suckless.org/patches/activetagindicatorbar/index.md
_AT_@ -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)
Received on Sun Feb 24 2019 - 19:47:20 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 24 2019 - 19:48:28 CET