[Systemd] Add service files for playerctl and mpd-mpris
This commit is contained in:
parent
52c23fb47c
commit
34db5e9dc3
10
.config/systemd/user/mpd-mpris.service
Normal file
10
.config/systemd/user/mpd-mpris.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=MPRIS implementation for MPD
|
||||
Requires=mpd.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/mpd-mpris
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
10
.config/systemd/user/playerctl.service
Normal file
10
.config/systemd/user/playerctl.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Keep track of media player activity
|
||||
|
||||
[Service]
|
||||
Type=dbus
|
||||
ExecStart=/usr/bin/playerctld daemon
|
||||
BusName=org.mpris.MediaPlayer2.playerctld
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue
Block a user