Combo Tag & View Patches

- Add combo tag & view patch
- Change tag and view functions to combotag and comboview in config.h
This commit is contained in:
Sravan Balaji
2020-07-28 22:02:28 -04:00
parent d194f2c726
commit 0f49dbddfb
2 changed files with 45 additions and 2 deletions

View File

@@ -50,9 +50,9 @@ static const Layout layouts[] = {
/* key definitions */
#define MODKEY Mod4Mask /* Mod1Mask = Alt, Mod4Mask = Super */
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY, KEY, comboview, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, combotag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */