dwm: Add patch to remove floating indicator

This commit is contained in:
Donovan Glover 2024-08-22 21:43:38 -04:00
parent 4781eafb06
commit 61ef31d977
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/dwm.c b/dwm.c
index 67c6b2b..6be8ef8 100644
--- a/dwm.c
+++ b/dwm.c
@@ -738,8 +738,6 @@ drawbar(Monitor *m)
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);

View File

@ -206,6 +206,7 @@ in
../assets/dwm-actualfullscreen.patch ../assets/dwm-actualfullscreen.patch
../assets/dwm-adjacenttag.patch ../assets/dwm-adjacenttag.patch
../assets/dwm-remove-layout-indicator.patch ../assets/dwm-remove-layout-indicator.patch
../assets/dwm-remove-floating-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";