dwm-noxz

[fork] suckless dwm - personal fork
git clone git://git.noxz.tech/dwm-noxz
Log | Files | Refs | README | LICENSE

commit 52d4480d7a707569105dbdea26bd08884ab72a71
parent e7d3583dadd3b63f2c364610cd155ca3b17da8e9
Author: Chris Noxz <chris@noxz.tech>
Date:   Wed,  5 Feb 2020 10:42:55 +0100

Implement viewontag

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

diff --git a/config.def.h b/config.def.h @@ -6,6 +6,7 @@ static const unsigned int borderpx = 2; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ +static const int viewontag = 1; static const int focusonwheel = 0; static const char *fonts[] = { "monospace:size=10" }; static const char dmenufont[] = "monospace:size=10"; diff --git a/dwm.c b/dwm.c @@ -2040,6 +2040,8 @@ tag(const Arg *arg) selmon->sel->tags = arg->ui & TAGMASK; focus(NULL); arrange(selmon); + if (viewontag) + view(arg); } }