cleanup
This commit is contained in:
parent
e2e154ad3f
commit
419b42c258
1 changed files with 28 additions and 37 deletions
13
config.h
13
config.h
|
@ -149,10 +149,7 @@ static Key keys[] = {
|
||||||
{ MODKEY, XK_g, shiftview, { .i = -1 } },
|
{ MODKEY, XK_g, shiftview, { .i = -1 } },
|
||||||
/* { MODKEY|ShiftMask, XK_g, spawn, SHCMD("") }, */
|
/* { MODKEY|ShiftMask, XK_g, spawn, SHCMD("") }, */
|
||||||
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
|
||||||
/* { MODKEY, XK_j, focusstack, {.i = +1 } }, */
|
/* J and K are automatically bound above in STACKEYS */
|
||||||
/* { MODKEY|ShiftMask, XK_j, movestack, {.i = +1 } }, */
|
|
||||||
/* { MODKEY, XK_k, focusstack, {.i = -1 } }, */
|
|
||||||
/* { MODKEY|ShiftMask, XK_k, movestack, {.i = -1 } }, */
|
|
||||||
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
|
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
|
||||||
{ MODKEY, XK_semicolon, shiftview, { .i = 1 } },
|
{ MODKEY, XK_semicolon, shiftview, { .i = 1 } },
|
||||||
/* { MODKEY|ShiftMask, XK_semicolon, shiftview, SHCMD("") }, */
|
/* { MODKEY|ShiftMask, XK_semicolon, shiftview, SHCMD("") }, */
|
||||||
|
@ -180,7 +177,6 @@ static Key keys[] = {
|
||||||
{ MODKEY, XK_period, spawn, SHCMD("mpc next") },
|
{ MODKEY, XK_period, spawn, SHCMD("mpc next") },
|
||||||
{ MODKEY|ShiftMask, XK_period, spawn, SHCMD("mpc repeat") },
|
{ MODKEY|ShiftMask, XK_period, spawn, SHCMD("mpc repeat") },
|
||||||
|
|
||||||
|
|
||||||
{ MODKEY, XK_Page_Up, shiftview, { .i = -1 } },
|
{ MODKEY, XK_Page_Up, shiftview, { .i = -1 } },
|
||||||
{ MODKEY, XK_Page_Down, shiftview, { .i = 1 } },
|
{ MODKEY, XK_Page_Down, shiftview, { .i = 1 } },
|
||||||
{ MODKEY, XK_Insert, spawn, SHCMD("showclip") },
|
{ MODKEY, XK_Insert, spawn, SHCMD("showclip") },
|
||||||
|
@ -197,15 +193,11 @@ static Key keys[] = {
|
||||||
{ MODKEY, XK_F10, spawn, SHCMD("dmenuumount") },
|
{ MODKEY, XK_F10, spawn, SHCMD("dmenuumount") },
|
||||||
/* { MODKEY, XK_F11, spawn, SHCMD("") }, */
|
/* { MODKEY, XK_F11, spawn, SHCMD("") }, */
|
||||||
{ MODKEY, XK_F12, spawn, SHCMD("st -e sudo nmtui") },
|
{ MODKEY, XK_F12, spawn, SHCMD("st -e sudo nmtui") },
|
||||||
|
|
||||||
/* { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, */
|
|
||||||
|
|
||||||
|
|
||||||
{ MODKEY, XK_space, zoom, {0} },
|
{ MODKEY, XK_space, zoom, {0} },
|
||||||
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
|
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
|
||||||
|
|
||||||
|
|
||||||
/* { XK_Print, spawn, SHCMD("maim pic-full-$(date '+%y%m\\%d-%H%M-\\%S').png") }, */
|
{ 0, XK_Print, spawn, SHCMD("maim pic-full-$(date '+%y%m%d-%H%M-%S').png") },
|
||||||
{ ShiftMask, XK_Print, spawn, SHCMD("maimpick") },
|
{ ShiftMask, XK_Print, spawn, SHCMD("maimpick") },
|
||||||
{ MODKEY, XK_Print, spawn, SHCMD("dmenurecord") },
|
{ MODKEY, XK_Print, spawn, SHCMD("dmenurecord") },
|
||||||
{ MODKEY|ShiftMask, XK_Print, spawn, SHCMD("dmenurecord kill") },
|
{ MODKEY|ShiftMask, XK_Print, spawn, SHCMD("dmenurecord kill") },
|
||||||
|
@ -233,7 +225,6 @@ static Key keys[] = {
|
||||||
{ 0, XF86XK_MyComputer, spawn, SHCMD("st -e $FILE /") },
|
{ 0, XF86XK_MyComputer, spawn, SHCMD("st -e $FILE /") },
|
||||||
{ 0, XF86XK_Battery, spawn, SHCMD("notify-send \"Battery status\" \"$(batstat)\"") },
|
{ 0, XF86XK_Battery, spawn, SHCMD("notify-send \"Battery status\" \"$(batstat)\"") },
|
||||||
{ 0, XF86XK_Launch1, spawn, SHCMD("xset dpms force off") },
|
{ 0, XF86XK_Launch1, spawn, SHCMD("xset dpms force off") },
|
||||||
|
|
||||||
{ 0, XF86XK_TouchpadToggle, spawn, SHCMD("(synclient | grep 'TouchpadOff.*1' && synclient TouchpadOff=0) || synclient TouchpadOff=1") },
|
{ 0, XF86XK_TouchpadToggle, spawn, SHCMD("(synclient | grep 'TouchpadOff.*1' && synclient TouchpadOff=0) || synclient TouchpadOff=1") },
|
||||||
{ 0, XF86XK_TouchpadOff, spawn, SHCMD("synclient TouchpadOff=1") },
|
{ 0, XF86XK_TouchpadOff, spawn, SHCMD("synclient TouchpadOff=1") },
|
||||||
{ 0, XF86XK_TouchpadOn, spawn, SHCMD("synclient TouchpadOff=0") },
|
{ 0, XF86XK_TouchpadOn, spawn, SHCMD("synclient TouchpadOff=0") },
|
||||||
|
|
Loading…
Reference in a new issue