add functions for audio in mango config
This commit is contained in:
parent
a062cde17e
commit
76224b59ad
1 changed files with 15 additions and 1 deletions
|
|
@ -171,4 +171,18 @@ bind=SUPER,period,focusmon,right
|
|||
# btn_left and btn_right can't bind none mod key
|
||||
mousebind=SUPER,btn_left,moveresize,curmove
|
||||
mousebind=SUPER,btn_right,moveresize,curresize
|
||||
mousebind=ALT,btn_left,moveresize,curresize
|
||||
mousebind=ALT,btn_left,moveresize,curresize
|
||||
|
||||
# brightness and audio shit
|
||||
bind=NONE,XF86MonBrightnessUp,spawn,brightnessctl s +10%
|
||||
bind=NONE,XF86MonBrightnessDown,spawn,brightnessctl s 10%-
|
||||
|
||||
|
||||
bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||
bind=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_SINK@ 5%-
|
||||
bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SINK@ toggle
|
||||
bind=SHIFT,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_SOURCE@ toggle
|
||||
|
||||
bind=NONE,XF86AudioNext,spawn,playerctl next
|
||||
bind=NONE,XF86AudioPrev,spawn,playerctl previous
|
||||
bind=NONE,XF86AudioPlay,spawn,playerctl play-pause
|
||||
Loading…
Reference in a new issue