dwm: Add patch to remove layout indicator

This commit is contained in:
Donovan Glover 2024-08-22 21:32:55 -04:00
parent 6dc116c9a4
commit b501d089dc
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,14 @@
diff --git a/dwm.c b/dwm.c
index 67c6b2b..da9bb87 100644
--- a/dwm.c
+++ b/dwm.c
@@ -730,9 +730,6 @@ drawbar(Monitor *m)
urg & 1 << i);
x += w;
}
- w = TEXTW(m->ltsymbol);
- drw_setscheme(drw, scheme[SchemeNorm]);
- x = drw_text(drw, x, 0, w, bh, lrpad / 2, m->ltsymbol, 0);
if ((w = m->ww - tw - x) > bh) {
if (m->sel) {

View File

@ -205,6 +205,7 @@ in
patches = [ patches = [
../assets/dwm-actualfullscreen.patch ../assets/dwm-actualfullscreen.patch
../assets/dwm-adjacenttag.patch ../assets/dwm-adjacenttag.patch
../assets/dwm-remove-layout-indicator.patch
(pkgs.fetchpatch { (pkgs.fetchpatch {
url = "https://dwm.suckless.org/patches/hide_vacant_tags/dwm-hide_vacant_tags-6.4.diff"; url = "https://dwm.suckless.org/patches/hide_vacant_tags/dwm-hide_vacant_tags-6.4.diff";