add unused spotifyd service

This commit is contained in:
Felix Van der Jeugt 2022-05-16 15:32:49 +02:00
parent 3a49dc3ba7
commit 910f6bc5af

9
services/spotifyd/run Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
export USER="$(whoami)"
export HOME=/home/"$USER"
export DISPLAY=":0"
. "$HOME/.profile"
spotifyd --no-daemon 2>&1 \
| tee -a $XDG_RUNTIME_DIR/playlist \
| sed '/trunc/d;/loaded$/d;/^Loading/d'