From 910f6bc5afc98663f869fe32709021a086b5f811 Mon Sep 17 00:00:00 2001 From: Felix Van der Jeugt Date: Mon, 16 May 2022 15:32:49 +0200 Subject: [PATCH] add unused spotifyd service --- services/spotifyd/run | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 services/spotifyd/run diff --git a/services/spotifyd/run b/services/spotifyd/run new file mode 100755 index 0000000..757f320 --- /dev/null +++ b/services/spotifyd/run @@ -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'