lf hardcoded; nmtui as W

This commit is contained in:
Luke Smith 2020-03-15 13:48:58 -04:00
parent 535d682d1c
commit 0f8c4d3c1b
No known key found for this signature in database
GPG key ID: 4C50B54A911F6252

View file

@ -114,10 +114,10 @@ static Key keys[] = {
{ MODKEY, XK_q, killclient, {0} }, { MODKEY, XK_q, killclient, {0} },
/* { MODKEY|ShiftMask, XK_q, spawn, SHCMD("") }, */ /* { MODKEY|ShiftMask, XK_q, spawn, SHCMD("") }, */
{ MODKEY, XK_w, spawn, SHCMD("$BROWSER") }, { MODKEY, XK_w, spawn, SHCMD("$BROWSER") },
/* { MODKEY|ShiftMask, XK_w, spawn, SHCMD("") }, */ { MODKEY|ShiftMask, XK_w, spawn, SHCMD("st -e sudo nmtui") },
{ MODKEY, XK_e, spawn, SHCMD("st -e neomutt ; pkill -RTMIN+12 dwmblocks") }, { MODKEY, XK_e, spawn, SHCMD("st -e neomutt ; pkill -RTMIN+12 dwmblocks") },
{ MODKEY|ShiftMask, XK_e, spawn, SHCMD("tutorialvids") }, { MODKEY|ShiftMask, XK_e, spawn, SHCMD("tutorialvids") },
{ MODKEY, XK_r, spawn, SHCMD("st -e $FILE") }, { MODKEY, XK_r, spawn, SHCMD("st -e lf") },
/* { MODKEY|ShiftMask, XK_r, spawn, SHCMD("") }, */ /* { MODKEY|ShiftMask, XK_r, spawn, SHCMD("") }, */
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
/* { MODKEY|ShiftMask, XK_t, spawn, SHCMD("") }, */ /* { MODKEY|ShiftMask, XK_t, spawn, SHCMD("") }, */
@ -192,11 +192,10 @@ static Key keys[] = {
{ MODKEY, XK_F9, spawn, SHCMD("dmenumount") }, { MODKEY, XK_F9, spawn, SHCMD("dmenumount") },
{ 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("") }, */
{ MODKEY, XK_space, zoom, {0} }, { MODKEY, XK_space, zoom, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ 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") },
@ -222,7 +221,7 @@ static Key keys[] = {
{ 0, XF86XK_ScreenSaver, spawn, SHCMD("slock & xset dpms force off; mpc pause; pauseallmpv") }, { 0, XF86XK_ScreenSaver, spawn, SHCMD("slock & xset dpms force off; mpc pause; pauseallmpv") },
{ 0, XF86XK_TaskPane, spawn, SHCMD("st -e htop") }, { 0, XF86XK_TaskPane, spawn, SHCMD("st -e htop") },
{ 0, XF86XK_Mail, spawn, SHCMD("st -e neomutt ; pkill -RTMIN+12 dwmblocks") }, { 0, XF86XK_Mail, spawn, SHCMD("st -e neomutt ; pkill -RTMIN+12 dwmblocks") },
{ 0, XF86XK_MyComputer, spawn, SHCMD("st -e $FILE /") }, { 0, XF86XK_MyComputer, spawn, SHCMD("st -e lf /") },
/* { 0, XF86XK_Battery, spawn, SHCMD("") }, */ /* { 0, XF86XK_Battery, spawn, SHCMD("") }, */
{ 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") },