commit df3cc455d59925d63af66523ca6e494b86d4dfb8
parent 28c28fdaefcc8b31248f43a15a990c77df2084df
Author: Markus Hanetzok <markus@hanetzok.net>
Date: Sun, 30 Mar 2025 18:54:11 +0200
add commands for sysact and passmenu scripts
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/config.def.h b/config.def.h
@@ -99,6 +99,8 @@ static const char *mpctoggle[] = { "mpc", "toggle", NULL };
static const char *mute[] = { "pamixer", "-t", NULL };
static const char *incvol[] = { "pamixer", "-i", "5", NULL };
static const char *decvol[] = { "pamixer", "-d", "5", NULL };
+static const char *sysact[] = { "sysact", NULL };
+static const char *passmenu[] = { "passmenu", NULL };
static const Key keys[] = {
/* modifier key function argument */
@@ -113,6 +115,11 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_q, quit, {0} },
{ MODKEY|ControlMask|ShiftMask, XK_q, quit, {1} },
+ // scripts & programsmarkus
+ { MODKEY, XK_BackSpace, spawn, {.v = sysact } },
+ { MODKEY|ShiftMask, XK_BackSpace, spawn, {.v = passmenu } },
+
+
// mpc && pulseaudio
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = decvol } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = incvol } },