summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMouad Alami <moadalami40@gmail.com>2023-09-12 15:36:03 +0100
committerMouad Alami <moadalami40@gmail.com>2023-09-12 15:36:03 +0100
commitb0c17bbe25e022e3de907c7361e9d9883cd78ffd (patch)
treedc7dd33a060503f97281cbcd99953a9b84873234 /config.h
parent48c4a82ec30a106e9cab7d6bb2f6bfc99fa28094 (diff)
added alternative tags patch
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index afe4ba1..08e4a79 100644
--- a/config.h
+++ b/config.h
@@ -38,6 +38,8 @@ static const char *dec_bright[] = {
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+static const char *tagsalt[] = { "", "", "", "", "", "", "", "", "" };
+static const int momentaryalttags = 0; /* 1 means alttags will show only when key is held down*/
static const Rule rules[] = {
/* xprop(1):
@@ -109,6 +111,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY, XK_period, focusmon, {.i = +1 } },
+ { MODKEY, XK_n, togglealttag, {0} },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
{MODKEY, XK_s, togglesticky, {0}},