mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 09:13:09 +01:00
dwm: Add patch to remove floating indicator
This commit is contained in:
parent
4781eafb06
commit
61ef31d977
13
assets/dwm-remove-floating-indicator.patch
Normal file
13
assets/dwm-remove-floating-indicator.patch
Normal 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);
|
@ -206,6 +206,7 @@ in
|
||||
../assets/dwm-actualfullscreen.patch
|
||||
../assets/dwm-adjacenttag.patch
|
||||
../assets/dwm-remove-layout-indicator.patch
|
||||
../assets/dwm-remove-floating-indicator.patch
|
||||
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://dwm.suckless.org/patches/hide_vacant_tags/dwm-hide_vacant_tags-6.4.diff";
|
||||
|
Loading…
Reference in New Issue
Block a user