mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-22 11:19:22 +01:00
sway/media.conf: add XF86AudioNext & XF86AudioPrev (provided by BT devices)
This commit is contained in:
parent
dceb88b272
commit
7057e8fe1f
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user