summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2020-05-03 16:04:33 -0400
committerLuke Smith <luke@lukesmith.xyz>2020-05-03 16:04:33 -0400
commit8cd6c7f0ea1834c14086eb3cb068c11406d4c3a2 (patch)
tree22663268d4cfc61133e4dc80b96ef17529a0bdc4 /config.h
parent6f00f18d9183699749a0f0a03592333f67aa568a (diff)
I think that for the left-hand binds, it's best to
spread out binds and not use shift. For right-handed people, most of which prefer right shift, it is much easier to mod+shift with the right hand than left.
Diffstat (limited to 'config.h')
-rw-r--r--config.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/config.h b/config.h
index ed08b39..86ecc77 100644
--- a/config.h
+++ b/config.h
@@ -124,7 +124,7 @@ static Key keys[] = {
{ MODKEY, XK_equal, spawn, SHCMD("pamixer --allow-boost -i 5; kill -44 $(pidof dwmblocks)") },
{ MODKEY|ShiftMask, XK_equal, spawn, SHCMD("pamixer --allow-boost -i 15; kill -44 $(pidof dwmblocks)") },
{ MODKEY, XK_BackSpace, spawn, SHCMD("sysact") },
- /* { MODKEY|ShiftMask, XK_BackSpace, spawn, SHCMD("") }, */
+ { MODKEY|ShiftMask, XK_BackSpace, spawn, SHCMD("sysact") },
{ MODKEY, XK_Tab, view, {0} },
/* { MODKEY|ShiftMask, XK_Tab, spawn, SHCMD("") }, */
@@ -158,32 +158,32 @@ static Key keys[] = {
{ MODKEY, XK_a, togglegaps, {0} },
{ MODKEY|ShiftMask, XK_a, defaultgaps, {0} },
{ MODKEY, XK_s, togglesticky, {0} },
- { MODKEY|ShiftMask, XK_s, togglebar, {0} },
+ /* { MODKEY|ShiftMask, XK_s, spawn, SHCMD("") }, */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
- { MODKEY|ShiftMask, XK_d, spawn, SHCMD("st -e sudo su") },
+ /* { MODKEY, XK_d, spawn, SHCMD("") } }, */
{ MODKEY, XK_f, togglefullscr, {0} },
{ MODKEY|ShiftMask, XK_f, setlayout, {.v = &layouts[8]} },
{ MODKEY, XK_g, shiftview, { .i = -1 } },
- /* { MODKEY|ShiftMask, XK_g, spawn, SHCMD("") }, */
+ /* { MODKEY|ShiftMask, XK_g, shifttag, { .i = -1 } }, */
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
/* J and K are automatically bound above in STACKEYS */
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_semicolon, shiftview, { .i = 1 } },
- /* { MODKEY|ShiftMask, XK_semicolon, shiftview, SHCMD("") }, */
+ /* { MODKEY|ShiftMask, XK_semicolon, shifttag, { .i = 1 } }, */
{ MODKEY, XK_apostrophe, togglescratch, {.ui = 1} },
/* { MODKEY|ShiftMask, XK_apostrophe, spawn, SHCMD("") }, */
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_Return, togglescratch, {.ui = 0} },
- { MODKEY, XK_z, incrgaps, {.i = +1 } },
- { MODKEY|ShiftMask, XK_z, incrgaps, {.i = -1 } },
- /* { MODKEY, XK_x, spawn, SHCMD("") }, */
+ { MODKEY, XK_z, incrgaps, {.i = +3 } },
+ /* { MODKEY|ShiftMask, XK_z, spawn, SHCMD("") }, */
+ { MODKEY, XK_x, incrgaps, {.i = -3 } },
/* { MODKEY|ShiftMask, XK_x, spawn, SHCMD("") }, */
/* { MODKEY, XK_c, spawn, SHCMD("") }, */
/* { MODKEY|ShiftMask, XK_c, spawn, SHCMD("") }, */
/* { MODKEY, XK_v, spawn, SHCMD("") }, */
/* { MODKEY|ShiftMask, XK_v, spawn, SHCMD("") }, */
- /* { MODKEY, XK_b, spawn, SHCMD("") }, */
+ { MODKEY, XK_b, togglebar, {0} },
/* { MODKEY|ShiftMask, XK_b, spawn, SHCMD("") }, */
{ MODKEY, XK_n, spawn, SHCMD("st -e nvim -c VimwikiIndex") },
{ MODKEY|ShiftMask, XK_n, spawn, SHCMD("st -e newsboat; pkill -RTMIN+6 dwmblocks") },
@@ -200,7 +200,9 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_Right, tagmon, {.i = +1 } },
{ MODKEY, XK_Page_Up, shiftview, { .i = -1 } },
- { MODKEY, XK_Page_Down, shiftview, { .i = 1 } },
+ /* { MODKEY|ShiftMask, XK_Page_Up, shifttag, { .i = -1 } }, */
+ { MODKEY, XK_Page_Down, shiftview, { .i = +1 } },
+ /* { MODKEY|ShiftMask, XK_Page_Down, shifttag, { .i = +1 } }, */
{ MODKEY, XK_Insert, spawn, SHCMD("notify-send \"📋 Clipboard contents:\" \"$(xclip -o -selection clipboard)\"") },
{ MODKEY, XK_F1, spawn, SHCMD("groff -mom /usr/local/share/dwm/larbs.mom -Tpdf | zathura -") },
@@ -282,7 +284,7 @@ static Button buttons[] = {
{ ClkStatusText, 0, Button4, sigdwmblocks, {.i = 4} },
{ ClkStatusText, 0, Button5, sigdwmblocks, {.i = 5} },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
- { ClkClientWin, MODKEY, Button2, defaultgaps, {0} },
+ { ClkClientWin, MODKEY, Button2, defaultgaps, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkClientWin, MODKEY, Button4, incrgaps, {.i = +1} },
{ ClkClientWin, MODKEY, Button5, incrgaps, {.i = -1} },