system_action keybind

This commit is contained in:
krolyxon 2022-09-17 16:03:58 +05:30
parent d90a34bcde
commit 6612f5dd57
3 changed files with 8 additions and 8 deletions

View File

@ -121,8 +121,8 @@ static Key keys[] = {
TAGKEYS( XK_9, 8) TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY|ShiftMask, XK_q, quit, {0} },
{ 0, XK_Print, spawn, SHCMD("maimshot") }, { 0, XK_Print, spawn, SHCMD("maimshot") },
{ MODKEY, XK_Escape, spawn, SHCMD("system_action") },
{ MODKEY, XK_m, spawn, {.v = (const char*[]){ TERMINAL, "-e", "ncmpcpp", NULL } } }, { MODKEY, XK_m, spawn, {.v = (const char*[]){ TERMINAL, "-e", "ncmpcpp", NULL } } },
{ 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; kill -34 $(cat ~/.cache/pidofbar") }, { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; kill -34 $(cat ~/.cache/pidofbar") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer -i 2; kill -34 $(cat ~/.cache/pidofbar)") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer -i 2; kill -34 $(cat ~/.cache/pidofbar)") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer -d 2; kill -34 $(cat ~/.cache/pidofbar)") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer -d 2; kill -34 $(cat ~/.cache/pidofbar)") },

View File

@ -121,8 +121,8 @@ static Key keys[] = {
TAGKEYS( XK_9, 8) TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY|ShiftMask, XK_q, quit, {0} },
{ 0, XK_Print, spawn, SHCMD("maimshot") }, { 0, XK_Print, spawn, SHCMD("maimshot") },
{ MODKEY, XK_Escape, spawn, SHCMD("system_action") },
{ MODKEY, XK_m, spawn, {.v = (const char*[]){ TERMINAL, "-e", "ncmpcpp", NULL } } }, { MODKEY, XK_m, spawn, {.v = (const char*[]){ TERMINAL, "-e", "ncmpcpp", NULL } } },
{ 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; kill -34 $(cat ~/.cache/pidofbar") }, { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; kill -34 $(cat ~/.cache/pidofbar") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer -i 2; kill -34 $(cat ~/.cache/pidofbar)") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer -i 2; kill -34 $(cat ~/.cache/pidofbar)") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer -d 2; kill -34 $(cat ~/.cache/pidofbar)") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer -d 2; kill -34 $(cat ~/.cache/pidofbar)") },

BIN
dwm

Binary file not shown.