From 3bd7b071d8e62e7bcfb369630d16a2f7c8a59fa1 Mon Sep 17 00:00:00 2001 From: Fabian Schmidt Date: Sat, 30 May 2020 22:16:47 +0200 Subject: [PATCH] Fixed audio shortcuts --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.def.h b/config.def.h index 6e96572..7ca6317 100644 --- a/config.def.h +++ b/config.def.h @@ -100,9 +100,9 @@ static Key keys[] = { { MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { 0, XF86XK_AudioMute, spawn, SHCMD("pactl set-sink-volume 0 -5%") }, + { 0, XF86XK_AudioMute, spawn, SHCMD("pactl set-sink-mute 0 toggle") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume 0 +5%") }, - { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-mute 0 toggle") }, + { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume 0 -5%") }, //{ MODKEY, XK_i, incnmaster, {.i = +1 } }, //{ MODKEY, XK_d, incnmaster, {.i = -1 } }, //{ MODKEY, XK_comma, focusmon, {.i = -1 } },