From 7057e8fe1f997b49a70969e6e58410a3054ff4e8 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Sun, 12 May 2024 09:31:42 +0300 Subject: [PATCH] sway/media.conf: add XF86AudioNext & XF86AudioPrev (provided by BT devices) --- conf/sway/config.d/media.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conf/sway/config.d/media.conf b/conf/sway/config.d/media.conf index c279ef39..bd30a279 100644 --- a/conf/sway/config.d/media.conf +++ b/conf/sway/config.d/media.conf @@ -11,6 +11,8 @@ bindsym $mod+Shift+b exec blueman-manager # Media keys bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause && notify-send -t 500 "Play-Pause pressed" +bindsym XF86AudioNext exec --no-startup-id playerctl next && notify-send -t 500 "Next pressed" +bindsym XF86AudioPrev exec --no-startup-id playerctl previous && notify-send -t 500 "Previous pressed" # Volume keys NOTE: won't work if nothing is playing (which I consider an improvement # over randomly stopping working as I enable and disable audio devices). set $sink $(pactl list short sinks | grep RUNNING | cut -f1)