From 76224b59ad14814797dc68c24233c26835380b6b Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 27 Aug 2026 02:13:01 +0200 Subject: [PATCH] add functions for audio in mango config --- mangowc/.config/mango/config.conf | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/mangowc/.config/mango/config.conf b/mangowc/.config/mango/config.conf index b665418..594ad61 100644 --- a/mangowc/.config/mango/config.conf +++ b/mangowc/.config/mango/config.conf @@ -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 \ No newline at end of file +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 \ No newline at end of file