dwm

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit f21a7bbcd03ffc8e026e30cbad5af45ad61df16b
parent 870085aede4ea48ca5407aee4cf61528dae918c1
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Mon, 13 Apr 2020 20:41:38 -0400

arrows to tag or focus monitors

Diffstat:
Mconfig.h | 12+++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git 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 } }, */