Fixed audio shortcuts

This commit is contained in:
Fabian Schmidt 2020-05-30 22:16:47 +02:00
parent 5170b060fa
commit 3bd7b071d8

View File

@ -100,9 +100,9 @@ static Key keys[] = {
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, { MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} }, { MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {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_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_i, incnmaster, {.i = +1 } },
//{ MODKEY, XK_d, incnmaster, {.i = -1 } }, //{ MODKEY, XK_d, incnmaster, {.i = -1 } },
//{ MODKEY, XK_comma, focusmon, {.i = -1 } }, //{ MODKEY, XK_comma, focusmon, {.i = -1 } },