X-Git-Url: http://git.subgeniuskitty.com/dwm/.git/blobdiff_plain/9813966c84eef470fcd8c14d42218ece1928e36e..c56e756083531e1030a77a42c6733762f6cee5b5:/config.h diff --git a/config.h b/config.h index bcc9748..9835e4d 100644 --- a/config.h +++ b/config.h @@ -20,7 +20,8 @@ static const char *colors[][3] = { }; /* tagging */ -static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; +#define MAX_TAGLEN 16 +static char tags[][MAX_TAGLEN] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const Rule rules[] = { /* xprop(1): @@ -86,6 +87,7 @@ static const Key keys[] = { { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, + { MODKEY, XK_n, nametag, {0} }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2)