improved audio hotkeys
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
https://paul-loedige:VhD%40R46%2ai9k%24tumJgD3T@git.ploedige.com
|
||||
https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de
|
||||
https://paul-loedige:yP4vs9rTriqP4b8mK4ohyNHSH@its-gitlab.init.hs-owl.de
|
||||
https://paul-loedige:5SC%24%5e%5eonvuD5Ze@git.owl-racing-team.de
|
||||
|
||||
@@ -89,14 +89,18 @@ keys = [
|
||||
Key([mod],'p',lazy.spawn("bwmenu --auto-lock -1"),desc="launch bwmenu"),
|
||||
Key([mod],'c',lazy.spawn("rofi -show calc -show-icons -modi drun,calc,ssh"),desc="launch rofi (calc)"),
|
||||
|
||||
# audio hotkeys
|
||||
Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1'), desc="increase speaker volume"),
|
||||
Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1'), desc="decrease speaker volume"),
|
||||
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute'), desc="toggle speaker mute"),
|
||||
Key(['control'], 'XF86AudioRaiseVolume', lazy.spawn('amixer set Capture 1%+'), desc="increase mic volume"),
|
||||
Key(['control'], 'XF86AudioLowerVolume', lazy.spawn('amixer set Capture 1%-'), desc="decrease mic volume"),
|
||||
Key(['control'], 'XF86AudioMute', lazy.spawn('amixer set Capture toggle'), desc="toggle mic mute"),
|
||||
|
||||
# Media hotkeys
|
||||
Key([], 'XF86AudioRaiseVolume', lazy.spawn('pulseaudio-ctl up 1')),
|
||||
Key([], 'XF86AudioLowerVolume', lazy.spawn('pulseaudio-ctl down 1')),
|
||||
Key([], 'XF86AudioMute', lazy.spawn('pulseaudio-ctl mute')),
|
||||
Key([], 'XF86AudioNext', lazy.spawn('playerctl next')),
|
||||
Key([], 'XF86AudioPrev', lazy.spawn('playerctl previous')),
|
||||
Key([], 'XF86AudioPlay', lazy.spawn('playerctl play-pause')),
|
||||
Key([],'Pause',lazy.spawn('amixer set Capture toggle'), desc="Toggles Microphone"),
|
||||
]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user