Run playerctld as a dbus unit with Restart=on-failure, start it through that unit on D-Bus activation, tie mpris-proxy to it, and bind the XF86 media keys to playerctl in xmonad.
5 lines
99 B
Plaintext
5 lines
99 B
Plaintext
[Unit]
|
|
Wants=playerctld.service
|
|
After=playerctld.service mpDris2.service
|
|
PartOf=playerctld.service
|