configuration/services/spotifyd/run

10 lines
207 B
Plaintext
Raw Normal View History

2020-10-16 10:25:48 +02:00
#!/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'