commit 585f53b124a31bf8c0e4aad79fc5359302a415bd
Author: astier <[email protected]>
Date: Wed Feb 27 12:01:08 2019 +0100
Add dwm-removetitle-6.2 patch
diff --git a/dwm.suckless.org/patches/removetitle/dwm-removetitle-6.2.diff
b/dwm.suckless.org/patches/removetitle/dwm-removetitle-6.2.diff
new file mode 100644
index 00000000..f54d079a
--- /dev/null
+++ b/dwm.suckless.org/patches/removetitle/dwm-removetitle-6.2.diff
@@ -0,0 +1,38 @@
+From 1c612db8a70828f25cc20b669a3950bc29c1ce4f Mon Sep 17 00:00:00 2001
+From: astier <[email protected]>
+Date: Thu, 21 Feb 2019 16:39:23 +0100
+Subject: [PATCH] Remove client-title from the statusbar
+
+Remove the title of the currently selected client from the statusbar.
+This is useful for people who find no value in displaying the title
+and want to declutter their statusbar. Also it leads to simpler code
+since this patch only removes code.
+---
+ dwm.c | 11 ++---------
+ 1 file changed, 2 insertions(+), 9 deletions(-)
+
+diff --git a/dwm.c b/dwm.c
+index 4465af1..3845492 100644
+--- a/dwm.c
++++ b/dwm.c
+@@ -729,15 +729,8 @@ drawbar(Monitor *m)
+ x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0);
+
+ if ((w = m->ww - sw - x) > bh) {
+- if (m->sel) {
+- drw_setscheme(drw, scheme[m == selmon ? SchemeSel :
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);
+- } else {
+- drw_setscheme(drw, scheme[SchemeNorm]);
+- drw_rect(drw, x, 0, w, bh, 1, 1);
+- }
++ drw_setscheme(drw, scheme[SchemeNorm]);
++ drw_rect(drw, x, 0, w, bh, 1, 1);
+ }
+ drw_map(drw, m->barwin, 0, 0, m->ww, bh);
+ }
+--
+2.20.1
+
diff --git a/dwm.suckless.org/patches/removetitle/index.md
b/dwm.suckless.org/patches/removetitle/index.md
new file mode 100644
index 00000000..4d0368f4
--- /dev/null
+++ b/dwm.suckless.org/patches/removetitle/index.md
@@ -0,0 +1,19 @@
+removetitle
+============
+
+Description
+-----------
+Remove the title of the currently selected client from the statusbar.
+This is useful for people who find no value in displaying the title
+and want to declutter their statusbar. Also it leads to simpler code
+since this patch only removes code.
+
+
+
+Download
+--------
+* [dwm-removetitle-6.2.diff](dwm-removetitle-6.2.diff)
+
+Author
+------
+* Aleksandrs Stier - [email protected]
diff --git a/dwm.suckless.org/patches/removetitle/removetitle.png
b/dwm.suckless.org/patches/removetitle/removetitle.png
new file mode 100644
index 00000000..0a09f145
Binary files /dev/null and
b/dwm.suckless.org/patches/removetitle/removetitle.png differ