From a18b3c6b721e1a42556731ca1ea59712f582531e Mon Sep 17 00:00:00 2001 From: Honney Date: Tue, 9 Jun 2026 22:37:48 +0200 Subject: [PATCH] added media and audio controll --- config/bind.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/config/bind.conf b/config/bind.conf index 3a52876..34fe339 100755 --- a/config/bind.conf +++ b/config/bind.conf @@ -80,3 +80,13 @@ bind = $mod CTRL, left, layoutmsg, focus l bind = $mod CTRL, right, layoutmsg, focus r bind = $mod CTRL SHIFT, left, layoutmsg, swapcol l bind = $mod CTRL SHIFT, right, layoutmsg, swapcol r + +# Audio keys +bindel = , XF86AudioRaiseVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindel = , XF86AudioLowerVolume, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ 0; wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindel = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + +# Video Keys +bindel = , XF86AudioPlay, exec, playerctl play-pause || playerctl play-pause +bindel = , XF86AudioNext, exec, playerctl next +bindel = , XF86AudioPrev, exec, playerctl previous \ No newline at end of file