sites

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

commit 1c96317fec38e42cc817e06d4f4655c7901cc690
parent 5a3383cab3421b4ba8b55ae23c6f4945a2b0cf3b
Author: Leon Plickat <leonhenrik.plickat@stud.uni-goettingen.de>
Date:   Tue, 15 Jan 2019 20:44:16 +0100

dwm/patches: Add 'activetagindicatorbar' patch

This patch changes the rectangle showing if a tag is in use by a
client into a bar above the tag name.

Diffstat:
Adwm.suckless.org/patches/activetagindicatorbar/activetagindicatorbar.png | 0
Adwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.1.diff | 12++++++++++++
Adwm.suckless.org/patches/activetagindicatorbar/index.md | 21+++++++++++++++++++++
3 files changed, 33 insertions(+), 0 deletions(-)

diff --git a/dwm.suckless.org/patches/activetagindicatorbar/activetagindicatorbar.png b/dwm.suckless.org/patches/activetagindicatorbar/activetagindicatorbar.png Binary files differ. diff --git a/dwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.1.diff b/dwm.suckless.org/patches/activetagindicatorbar/dwm-activetagindicatorbar-6.1.diff @@ -0,0 +1,12 @@ +diff -up dwm-a/dwm.c dwm-b/dwm.c +--- dwm-a/dwm.c 2019-01-15 19:59:21.363468198 +0100 ++++ dwm-b/dwm.c 2015-11-08 23:39:37.000000000 +0100 +@@ -720,7 +720,7 @@ drawbar(Monitor *m) + w = TEXTW(tags[i]); + drw_setscheme(drw, m->tagset[m->seltags] & 1 << i ? &scheme[SchemeSel] : &scheme[SchemeNorm]); + drw_text(drw, x, 0, w, bh, tags[i], urg & 1 << i); +- drw_rect(drw, x + 1, 1, dx, dx, m == selmon && selmon->sel && selmon->sel->tags & 1 << i, ++ drw_rect(drw, x + dx, 0, w - ( 2 * dx + 1 ), dx / 2, m == selmon && selmon->sel && selmon->sel->tags & 1 << i, + occ & 1 << i, urg & 1 << i); + x += w; + } diff --git a/dwm.suckless.org/patches/activetagindicatorbar/index.md b/dwm.suckless.org/patches/activetagindicatorbar/index.md @@ -0,0 +1,21 @@ +activetagindicatorbar +===================== + +Description +----------- +This patch changes the rectangle indicating if a tag is used by a client into a +bar above the tag name. + +Be sure to use a font which leaves enough space between the text of the tag name +and the top of the bar. + +![activetagindicatorbar screenshot](activetagindicatorbar.png) + +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> +