Control media players with playerctl from media keys and headphones

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.
This commit is contained in:
Daniele Fucini
2026-10-25 19:41:22 +01:00
parent cd439be109
commit 5e8fa266d7
5 changed files with 18 additions and 2 deletions
@@ -0,0 +1,4 @@
[Unit]
Wants=playerctld.service
After=playerctld.service mpDris2.service
PartOf=playerctld.service