summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authordianshi <dianshi@main.lv>2020-04-05 14:01:19 +0100
committerdianshi <dianshi@main.lv>2020-04-05 14:01:19 +0100
commitbfe0aa75a6d08ee98883418eb367b19581ea9e75 (patch)
tree25d54964ad4025b8aa01bcc8b9ff3e4fbdcecb8f /config.h
parent0bdae45f078d9f77c651a83ebbda95aaa43b09db (diff)
downloaddwm-pixel-bfe0aa75a6d08ee98883418eb367b19581ea9e75.tar.gz
dwm-pixel-bfe0aa75a6d08ee98883418eb367b19581ea9e75.zip
Added alternativetag patch
Diffstat (limited to 'config.h')
-rw-r--r--config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.h b/config.h
index 1c0b587..5398aec 100644
--- a/config.h
+++ b/config.h
@@ -20,6 +20,9 @@ static const char *colors[][3] = {
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
+#ifdef CONFIG_DWM_ALTERNATIVETAGS
+static const char *tagsalt[] = { "W", "工", "", "✠", "☠", "✡", "☪︎", "☭", "ﴔ" };
+#endif
static const Rule rules[] = {
/* xprop(1):
@@ -84,6 +87,9 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+#ifdef CONFIG_DWM_ALTERNATIVETAGS
+ { MODKEY, XK_n, togglealttag, {0} },
+#endif
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)