add unused spotifyd service
This commit is contained in:
parent
3a49dc3ba7
commit
bfc4f820fe
2 changed files with 10 additions and 0 deletions
1
config/spotifyd/.gitignore
vendored
Normal file
1
config/spotifyd/.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
spotifyd.conf
|
9
services/spotifyd/run
Executable file
9
services/spotifyd/run
Executable 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'
|
Loading…
Add table
Add a link
Reference in a new issue