mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-02-16 13:30:57 +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
|
# Media keys
|
||||||
bindsym XF86AudioPlay exec --no-startup-id playerctl play-pause && notify-send -t 500 "Play-Pause pressed"
|
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
|
# 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).
|
# over randomly stopping working as I enable and disable audio devices).
|
||||||
set $sink $(pactl list short sinks | grep RUNNING | cut -f1)
|
set $sink $(pactl list short sinks | grep RUNNING | cut -f1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user