Add a spotifyd service

This commit is contained in:
Felix Van der Jeugt 2019-11-04 20:20:54 +01:00
parent 769d68eeb4
commit f146b722a8
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 9 additions and 0 deletions

9
services/spotifyd/run Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh -e
exec > /dev/null
exec env -i \
HOME="${HOME:-/home/noctua}" \
XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-/home/noctua/.config}" \
XDG_CACHE_HOME="${XDG_CONFIG_HOME:-/home/noctua/.cache}" \
PATH="/usr/local/bin:$HOME/.cargo/bin:$PATH" \
DISPLAY=":0" \
/home/noctua/.cargo/bin/spotifyd --no-daemon