aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 91f21c4..5235a2c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -96,6 +96,7 @@ static const char *ytsub[] = { "st", "ytfzf", "-tl", "--subs=4", NULL };
static const char *upvol[] = { "pamixer", "-i", "5", NULL };
static const char *downvol[] = { "pamixer", "-d", "5", NULL };
static const char *mutevol[] = { "pamixer", "-t", NULL };
+static const char *mutemic[] = { "mutemic", NULL };
static const Key keys[] = {
/* modifier key function argument */
@@ -126,9 +127,10 @@ static const Key keys[] = {
{ MODKEY, XK_minus, setgaps, {.i = -1 } },
{ MODKEY, XK_equal, setgaps, {.i = +1 } },
{ MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } },
- { MODKEY, XK_F10, spawn, {.v = upvol } },
- { MODKEY, XK_F9, spawn, {.v = downvol } },
- { MODKEY, XK_F8, spawn, {.v = mutevol } },
+ { 0, XK_XF86AudioRaiseVolume, spawn, {.v = upvol } },
+ { 0, XK_XF86AudioLowerVolume, spawn, {.v = downvol } },
+ { 0, XK_XF86AudioMute, spawn, {.v = mutevol } },
+ { 0, XK_XF86AudioMicMute, spawn, {.v = mutemic } },
{ MODKEY, XK_x, spawn, {.v = scrnlock } },
{ MODKEY, XK_s, spawn, {.v = scrnshotsel } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = scrnshot } },