]> git.armaanb.net Git - dwm.git/commitdiff
Update tag layout
authorArmaan Bhojwani <me@armaanb.net>
Mon, 28 Jun 2021 14:59:48 +0000 (10:59 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Sat, 3 Jul 2021 15:40:42 +0000 (11:40 -0400)
config.h

index 292d9558a0c62a1a873d4be1e59a7022760262f0..861a6a79a41407a0df064a1d13551be6aafb314f 100644 (file)
--- 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") },