From d9ea86de4301b13cf3f2eb466a84ba96f93dfc3e Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 28 Jun 2021 10:59:48 -0400 Subject: [PATCH] Update tag layout --- config.h | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/config.h b/config.h index 292d955..861a6a7 100644 --- a/config.h +++ b/config.h @@ -16,7 +16,7 @@ static const char *colors[][3] = { }; /* tagging */ -static const char *tags[] = { "1", "2", "3", "4", "5" }; +static const char *tags[] = { "1", "2", "3", "4" }; static const Rule rules[] = { /* xprop(1): @@ -24,10 +24,7 @@ static const Rule rules[] = { * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, - { "St", NULL, NULL, 0, 0, -1 }, - { NULL, NULL, "Event Tester", 0, 0, -1 }, /* xev */ + { "St", NULL, "pinentry", 0, 1, -1 }, }; /* layout(s) */ @@ -81,8 +78,6 @@ static Key keys[] = { { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { MODKEY, XK_0, view, {.ui = ~0 } }, - { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, @@ -91,11 +86,8 @@ static Key keys[] = { TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) - TAGKEYS( XK_5, 4) - TAGKEYS( XK_6, 5) - TAGKEYS( XK_7, 6) - TAGKEYS( XK_8, 7) - TAGKEYS( XK_9, 8) + { MODKEY, XK_5, view, {.ui = ~0 } }, + { MODKEY|ShiftMask, XK_5, tag, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_q, quit, {0} }, /***************************************************************/ { MODKEY|ControlMask, XK_Return, spawn, SHCMD("emacsclient -c") }, @@ -108,6 +100,7 @@ static Key keys[] = { { MODKEY|ControlMask, XK_i, spawn, SHCMD("dweb search") }, { MODKEY|ControlMask, XK_o, spawn, SHCMD("dweb bookmark") }, { MODKEY|ControlMask, XK_p, spawn, SHCMD("chorizo") }, + { 0, XK_F7, spawn, SHCMD("chorizo") }, /***************************************************************/ { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("amixer sset Master 5%-; pkill -RTMIN+10 dwmblocks") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("amixer sset Master 5%+; pkill -RTMIN+10 dwmblocks") }, -- 2.39.2