mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-21 15:53:32 +01:00
dwm: Add patch to remove layout indicator
This commit is contained in:
parent
6dc116c9a4
commit
b501d089dc
14
assets/dwm-remove-layout-indicator.patch
Normal file
14
assets/dwm-remove-layout-indicator.patch
Normal 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) {
|
@ -205,6 +205,7 @@ in
|
||||
patches = [
|
||||
../assets/dwm-actualfullscreen.patch
|
||||
../assets/dwm-adjacenttag.patch
|
||||
../assets/dwm-remove-layout-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