Hiding vacant tags was actually great, let's get it back.
This commit is contained in:
parent
51233cea8d
commit
f901b1b63e
6 changed files with 81 additions and 100 deletions
|
@ -42,21 +42,17 @@ static Sp scratchpads[] = {
|
|||
|
||||
/* tagging */
|
||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||
static const char *alttags[] = { "<01>", "<02>", "<03>", "<04>", "<05>" };
|
||||
|
||||
static const Rule rules[] = {
|
||||
/* xprop(1):
|
||||
* WM_CLASS(STRING) = instance, class
|
||||
* WM_NAME(STRING) = title
|
||||
*/
|
||||
/* class instance title tags mask isfloating isterminal noswallow monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
|
||||
{ "St", NULL, NULL, 0, 0, 1, 0, -1 },
|
||||
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
|
||||
{ NULL, "spterm", NULL, SPTAG(0), 1, 0, 0, -1 },
|
||||
{ NULL, "spfm", NULL, SPTAG(1), 1, 0, 0, -1 },
|
||||
{ NULL, "keepassxc", NULL, SPTAG(2), 0, 0, 0, -1 },
|
||||
/* class instance title tags mask isfloating isterminal noswallow monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
|
||||
{ "St", NULL, NULL, 0, 0, 1, 0, -1 },
|
||||
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
@ -115,13 +111,13 @@ static Key keys[] = {
|
|||
{ MODKEY, XK_period, focusmon, {.i = +1 } },
|
||||
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
|
||||
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
|
||||
{ MODKEY, XK_y, togglescratch, {.ui = 0 } },
|
||||
{ MODKEY, XK_u, togglescratch, {.ui = 1 } },
|
||||
{ MODKEY, XK_x, togglescratch, {.ui = 2 } },
|
||||
{ MODKEY, XK_minus, setgaps, {.i = -5 } },
|
||||
{ MODKEY, XK_equal, setgaps, {.i = +5 } },
|
||||
{ MODKEY|ShiftMask, XK_minus, setgaps, {.i = GAP_RESET } },
|
||||
{ MODKEY|ShiftMask, XK_equal, setgaps, {.i = GAP_TOGGLE} },
|
||||
{ MODKEY, XK_y, togglescratch, {.ui = 0 } },
|
||||
{ MODKEY, XK_u, togglescratch, {.ui = 1 } },
|
||||
{ MODKEY, XK_x, togglescratch, {.ui = 2 } },
|
||||
TAGKEYS( XK_1, 0)
|
||||
TAGKEYS( XK_2, 1)
|
||||
TAGKEYS( XK_3, 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue