diff --git a/config.py b/config.py index 4bc63d7..374a988 100644 --- a/config.py +++ b/config.py @@ -82,6 +82,20 @@ keys = [ Key([MOD, "control"], "r", lazy.restart()), Key([MOD, "control"], "q", lazy.shutdown()), Key([MOD, "control"], "equal", lazy.spawn("systemctl suspend")), + + # Change the volume if our keyboard has keys + Key( + [], "XF86AudioRaiseVolume", + lazy.spawn("pamixer -i 2") + ), + Key( + [], "XF86AudioLowerVolume", + lazy.spawn("pamixer -d 2") + ), + Key( + [], "XF86AudioMute", + lazy.spawn("pamixer -t") + ), ]