From f21a7bbcd03ffc8e026e30cbad5af45ad61df16b Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Mon, 13 Apr 2020 20:41:38 -0400 Subject: [PATCH] arrows to tag or focus monitors --- config.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/config.h b/config.h index c0319fb..a3163df 100644 --- a/config.h +++ b/config.h @@ -198,6 +198,11 @@ static Key keys[] = { { MODKEY, XK_period, spawn, SHCMD("mpc next") }, { MODKEY|ShiftMask, XK_period, spawn, SHCMD("mpc repeat") }, + { MODKEY, XK_Left, focusmon, {.i = -1 } }, + { MODKEY, XK_Left, focusmon, {.i = +1 } }, + { MODKEY|ShiftMask, XK_Right, tagmon, {.i = -1 } }, + { MODKEY|ShiftMask, XK_Right, tagmon, {.i = +1 } }, + { MODKEY, XK_Page_Up, shiftview, { .i = -1 } }, { MODKEY, XK_Page_Down, shiftview, { .i = 1 } }, { MODKEY, XK_Insert, spawn, SHCMD("notify-send \"📋 Clipboard contents:\" \"$(xclip -o -selection clipboard)\"") }, @@ -252,13 +257,6 @@ static Key keys[] = { { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 15") }, { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 15") }, - /* { MODKEY, XK_space, setlayout, {0} }, */ - - /* { MODKEY, XK_comma, focusmon, {.i = -1 } }, */ - /* { MODKEY, XK_period, focusmon, {.i = +1 } }, */ - /* { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, */ - /* { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, */ - /* { MODKEY|Mod4Mask, XK_h, incrgaps, {.i = +1 } }, */ /* { MODKEY|Mod4Mask, XK_l, incrgaps, {.i = -1 } }, */ /* { MODKEY|Mod4Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } }, */