From 79edc68d93f114ae811821eee28eaf64d83b9b7d Mon Sep 17 00:00:00 2001 From: Alex Selimov Date: Fri, 9 Apr 2021 11:06:06 -0400 Subject: [PATCH] Remove info segment from bar --- config.def.h | 3 +-- dwm.c | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config.def.h b/config.def.h index cff7dcd..ecc900d 100644 --- a/config.def.h +++ b/config.def.h @@ -117,8 +117,7 @@ static Key keys[] = { { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_f, setlayout, {.v = &layouts[1]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, - { MODKEY, XK_space, setlayout, {0} }, - { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, + { MODKEY, XK_space, togglefloating, {0} }, { MODKEY, XK_Down, moveresize, {.v = "0x 25y 0w 0h" } }, { MODKEY, XK_Up, moveresize, {.v = "0x -25y 0w 0h" } }, { MODKEY, XK_Right, moveresize, {.v = "25x 0y 0w 0h" } }, diff --git a/dwm.c b/dwm.c index 182e543..13bff00 100644 --- a/dwm.c +++ b/dwm.c @@ -769,8 +769,8 @@ drawbar(Monitor *m) if ((w = m->ww - tw - x) > bh) { if (m->sel) { - drw_setscheme(drw, scheme[m == selmon ? SchemeInfoSel : SchemeInfoNorm]); - drw_text(drw, x, 0, w, bh, lrpad / 2, m->sel->name, 0); +// drw_setscheme(drw, scheme[m == selmon ? SchemeInfoSel : SchemeInfoNorm]); +// 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 {