Add media controls
This commit is contained in:
parent
79a52ab8cf
commit
b9cff89885
|
@ -179,6 +179,10 @@ keys = [
|
||||||
Key([mod, "shift"], "y", lazy.spawn(hotkeys), desc="Show Hotkeys"),
|
Key([mod, "shift"], "y", lazy.spawn(hotkeys), desc="Show Hotkeys"),
|
||||||
Key([mod], "n", lazy.screen.next_group(skip_empty=True), desc="Switch to next group"),
|
Key([mod], "n", lazy.screen.next_group(skip_empty=True), desc="Switch to next group"),
|
||||||
Key([mod, "shift"], "n", lazy.screen.prev_group(skip_empty=True), desc="Switch to previous group"),
|
Key([mod, "shift"], "n", lazy.screen.prev_group(skip_empty=True), desc="Switch to previous group"),
|
||||||
|
# Media Keys
|
||||||
|
Key([], "XF86AudioLowerVolume", lazy.spawn("amixer -D pulse sset Master 5%-"), desc="Lower Volume by 5%"),
|
||||||
|
Key([], "XF86AudioRaiseVolume", lazy.spawn("amixer -D pulse sset Master 5%+"), desc="Raise Volume by 5%"),
|
||||||
|
Key([], "XF86AudioMute", lazy.spawn("amixer -D pulse sset Master toggle"), desc="Toggle Mute"),
|
||||||
# LAUNCH chord
|
# LAUNCH chord
|
||||||
KeyChord(
|
KeyChord(
|
||||||
[mod],
|
[mod],
|
||||||
|
|
Loading…
Reference in New Issue