configuration/services/spotifyd/run
2019-11-04 20:20:54 +01:00

10 lines
469 B
Bash
Executable File

#!/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