sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 2071f188e86b5279b21e889ea3946ce94fd56dd3
parent 899c641da2397952ea0404cceea094386e385c0a
Author: aleks <aleks.stier@icloud.com>
Date:   Wed, 10 Apr 2019 16:38:02 +0200

[dwm][removetitle] Remove in favor of notitle

Diffstat:
Ddwm.suckless.org/patches/removetitle/dwm-removetitle-6.2.diff | 38--------------------------------------
Ddwm.suckless.org/patches/removetitle/index.md | 19-------------------
Ddwm.suckless.org/patches/removetitle/removetitle.png | 0
Ddwm.suckless.org/patches/removetitle/removetitle_thumb.png | 0
4 files changed, 0 insertions(+), 57 deletions(-)

diff --git a/dwm.suckless.org/patches/removetitle/dwm-removetitle-6.2.diff b/dwm.suckless.org/patches/removetitle/dwm-removetitle-6.2.diff @@ -1,38 +0,0 @@ -From 1c612db8a70828f25cc20b669a3950bc29c1ce4f Mon Sep 17 00:00:00 2001 -From: astier <aleksandrs.stier@uni-bielefeld.de> -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 @@ -1,19 +0,0 @@ -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. - -[![removetitle](removetitle_thumb.png)](removetitle.png) - -Download --------- -* [dwm-removetitle-6.2.diff](dwm-removetitle-6.2.diff) - -Author ------- -* Aleksandrs Stier (6.2) diff --git a/dwm.suckless.org/patches/removetitle/removetitle.png b/dwm.suckless.org/patches/removetitle/removetitle.png Binary files differ. diff --git a/dwm.suckless.org/patches/removetitle/removetitle_thumb.png b/dwm.suckless.org/patches/removetitle/removetitle_thumb.png Binary files differ.