added spotifyd.service
This commit is contained in:
parent
6deb38423f
commit
1d65231984
|
|
@ -0,0 +1,15 @@
|
||||||
|
[Unit]
|
||||||
|
Description=A spotify playing daemon
|
||||||
|
Documentation=https://github.com/Spotifyd/spotifyd
|
||||||
|
Wants=sound.target
|
||||||
|
After=sound.target
|
||||||
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/spotifyd --no-daemon --verbose --config-path /home/r0r5chach/.config/spotifyd
|
||||||
|
Restart=always
|
||||||
|
RestartSec=12
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
|
|
@ -52,3 +52,7 @@ cp -r /home/$USER/.config/zsh $dot/home/$USER/.config/
|
||||||
cp /home/$USER/.config/code-flags.conf $dot/home/$USER/.config/
|
cp /home/$USER/.config/code-flags.conf $dot/home/$USER/.config/
|
||||||
cp /home/$USER/.config/electron-flags.conf $dot/home/$USER/.config/
|
cp /home/$USER/.config/electron-flags.conf $dot/home/$USER/.config/
|
||||||
cp /home/$USER/.config/spotifyd $dot/home/$USER/.config
|
cp /home/$USER/.config/spotifyd $dot/home/$USER/.config
|
||||||
|
|
||||||
|
mkdir $dot/home/$USER/.config/systemd 2> /dev/null
|
||||||
|
mkdir $dot/home/$USER/.config/systemd/user 2> /dev/null
|
||||||
|
cp /home/$USER/.config/systemd/user/spotifyd.service
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue