add functions for audio in mango config

This commit is contained in:
lucy 2026-08-27 02:13:01 +02:00
commit 76224b59ad

View file

@ -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