From 84367ee7ae11a811f18e369f7dca9abb14970e8f Mon Sep 17 00:00:00 2001 From: desolate <...> Date: Sat, 23 May 2026 18:37:45 +0300 Subject: [PATCH] add volume and brightness key bindings to mango --- dotfiles/mango/.config/mango/bindings/keyboard.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dotfiles/mango/.config/mango/bindings/keyboard.conf b/dotfiles/mango/.config/mango/bindings/keyboard.conf index a5461f6..345e455 100644 --- a/dotfiles/mango/.config/mango/bindings/keyboard.conf +++ b/dotfiles/mango/.config/mango/bindings/keyboard.conf @@ -17,6 +17,15 @@ bind=NONE,XF86SelectiveScreenshot,spawn,$HOME/.config/mango/scripts/screenshot/r bind=SUPER,m,quit bind=ALT,q,killclient, +# volume +bind=NONE,XF86AudioRaiseVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bind=NONE,XF86AudioLowerVolume,spawn,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bind=NONE,XF86AudioMute,spawn,wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + +# brightness +bind=NONE,XF86MonBrightnessUp,spawn,light -A 5 +bind=NONE,XF86MonBrightnessDown,spawn,light -U 5 + # switch window focus bind=SUPER,Tab,focusstack,next bind=ALT,Left,focusdir,left