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.
This commit is contained in:
parent
6f00f18d91
commit
8cd6c7f0ea
2 changed files with 16 additions and 14 deletions
22
config.h
22
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 -") },
|
||||
|
|
|
@ -69,7 +69,7 @@ This setting can be changed if you don't like it by deleting or commenting out t
|
|||
.PP
|
||||
To the left, you'll see the numbers of your current workspace/tag(s).
|
||||
On the right, you'll see various system status notifiers, the date, volume, even music and local weather if possible, etc.
|
||||
Each module on the right of the status bar is a script located in \f(CW~/.local/bin/statusbar/\fP.
|
||||
Each module on the right of the statusbar is a script located in \f(CW~/.local/bin/statusbar/\fP.
|
||||
You can see what they do and modify them from there.
|
||||
I'm sure you can figure it out.
|
||||
You can also right click on the module to see what it does.
|
||||
|
@ -105,7 +105,7 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
|
|||
.ITEM
|
||||
\f(CWMod+h/l\fP \(en Change width of master window
|
||||
.ITEM
|
||||
\f(CWMod+z/Z\fP \(en Increase/decrease gaps (may also hold \f(CWMod\fP and scroll mouse)
|
||||
\f(CWMod+z/x\fP \(en Increase/decrease gaps (may also hold \f(CWMod\fP and scroll mouse)
|
||||
.ITEM
|
||||
\f(CWMod+a\fP \(en Toggle gaps
|
||||
.ITEM
|
||||
|
@ -115,7 +115,7 @@ To type capital letters, hold down the \f(CWShift\fP key\(emthat might sound lik
|
|||
.ITEM
|
||||
\f(CWMod+s\fP \(en Make/unmake a window "sticky" (follows you from tag to tag)
|
||||
.ITEM
|
||||
\f(CWMod+S\fP \(en Toggle status bar (may also middle click on desktop)
|
||||
\f(CWMod+b\fP \(en Toggle statusbar (may also middle click on desktop)
|
||||
.LIST OFF
|
||||
.HEADING 2 "Window layouts"
|
||||
.LI
|
||||
|
|
Loading…
Reference in a new issue