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:
@@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
Type=dbus
|
||||
ExecStart=
|
||||
ExecStart=/usr/bin/playerctld
|
||||
Restart=on-failure
|
||||
Reference in New Issue
Block a user