Feat: add volume controle keys
This commit is contained in:
parent
eff679529b
commit
7ecb216f35
14
config.py
14
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")
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user