From 1ebeccec4960d66d4f229b81ed578e6e3650aa88 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Thu, 6 Jul 2023 14:31:05 +0530 Subject: sysact keymaps --- config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.h') diff --git a/config.h b/config.h index 4704f5b..d0f23bc 100644 --- a/config.h +++ b/config.h @@ -121,8 +121,12 @@ static Key keys[] = { TAGKEYS( XK_9, 8) { MODKEY|ShiftMask, XK_q, quit, {0} }, { 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_Escape, spawn, {.v = (const char*[]){ "sysact", NULL } } }, + { MODKEY|ShiftMask, XK_Escape, spawn, {.v = (const char*[]){ "sysact", NULL } } }, + + + // Audio related keymaps { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t;kill -44 $(pidof dwmblocks") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer -i 2;kill -44 $(pidof dwmblocks)") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer -d 2;kill -44 $(pidof dwmblocks)") }, -- cgit v1.2.3