18 lines
524 B
Text
18 lines
524 B
Text
![]() |
# Key bindings for media player control via MPRIS D-Bus interface
|
||
|
#
|
||
|
# Requires: playerctl
|
||
|
|
||
|
# Allow Play and Stop bindings even if the screen is locked
|
||
|
bindsym --locked {
|
||
|
XF86AudioPlay exec playerctl play-pause
|
||
|
XF86AudioStop exec playerctl stop
|
||
|
}
|
||
|
|
||
|
bindsym {
|
||
|
XF86AudioForward exec playerctl position +10
|
||
|
XF86AudioNext exec playerctl next
|
||
|
XF86AudioPause exec playerctl pause
|
||
|
XF86AudioPrev exec playerctl previous
|
||
|
XF86AudioRewind exec playerctl position -10
|
||
|
}
|