dwm

suckless dynamic window manager
git clone https://git.beauhilton.com/dwm.git
Log | Files | Refs | README | LICENSE

commit c783a1961bbd80efd6798972d92cb83192b82ea3
parent a8d838410bb77deaf1e5e4fef96dc1298dfea97d
Author: Beau <cbeauhilton@gmail.com>
Date:   Wed,  6 Jul 2022 18:54:08 -0500

fix noswallow

Diffstat:
Mconfig.h | 8+++++---
Mdwm.c | 1+
2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/config.h b/config.h @@ -45,6 +45,7 @@ static const Rule rules[] = { /* class instance title tags mask isfloating isterminal noswallow monitor */ {"kitty", NULL, NULL, 0, 0, 1, 0, -1}, + {"Firefox", NULL, NULL, 0, 0, 0, 1, -1}, }; /* layout(s) */ @@ -111,7 +112,8 @@ static Key keys[] = { /* modifier key function argument */ STACKKEYS(MODKEY, focus) STACKKEYS(MODKEY | ShiftMask, push) - /* { MODKEY|ShiftMask, XK_Escape, spawn, SHCMD("") + /* { MODKEY|ShiftMask, XK_Escape, spawn, + * SHCMD("") * }, */ {MODKEY, XK_grave, spawn, SHCMD("dmenuunicode")}, @@ -234,8 +236,8 @@ static Key keys[] = { /* { MODKEY|ShiftMask, XK_x, spawn, SHCMD("") * }, */ - /* { MODKEY, XK_c, spawn, SHCMD("$TERMINAL -e - * bc -l") + /* { MODKEY, XK_c, spawn, + * SHCMD("$TERMINAL -e bc -l") * }, */ {MODKEY | ShiftMask, XK_c, spawn, diff --git a/dwm.c b/dwm.c @@ -386,6 +386,7 @@ void applyrules(Client *c) { (!r->instance || strstr(instance, r->instance))) { c->isterminal = r->isterminal; c->isfloating = r->isfloating; + c->noswallow = r->noswallow; c->tags |= r->tags; for (m = mons; m && m->num != r->monitor; m = m->next) ;