updates for volume controls in awesome

This commit is contained in:
Chris Cochrun 2022-06-30 11:25:17 -05:00
parent 06e78fce2b
commit 6ad3e2f63a
4 changed files with 16 additions and 13 deletions

View file

@ -211,17 +211,13 @@
{:description "Increase volume by 5%" :group "audio"})
(awful.key [] "XF86AudioLowerVolume" (fn [] (awful.spawn "voldown"))
{:description "Decrease volume by 5%" :group "audio"})
(awful.key [] "XF86AudioMute" (fn [] (awful.spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
(awful.key [] "XF86AudioMute" (fn [] (awful.spawn "volmute"))
{:description "Mute volume" :group "audio"})
(awful.key [] "F3" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ +5%")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
(awful.key [] "F3" (fn [] (awful.spawn "volup"))
{:description "Increase volume by 5%" :group "audio"})
(awful.key [] "F2" (fn [] (awful.spawn "pactl set-sink-volume @DEFAULT_SINK@ -5%")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
(awful.key [] "F2" (fn [] (awful.spawn "voldown"))
{:description "Decrease volume by 5%" :group "audio"})
(awful.key [] "F1" (fn [] (awful.spawn "pactl set-sink-mute @DEFAULT_SINK@ toggle")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))
(awful.key [] "F1" (fn [] (awful.spawn "volmute"))
{:description "Mute volume" :group "audio"})
(awful.key [] "XF86Launch8" (fn [] (awful.spawn "pactl set-source-mute @DEFAULT_SOURCE@ toggle")
(awful.spawn "paplay /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga"))