From 5bff7a1f1e322dcd8bc6c2ee8aa751059aeaae70 Mon Sep 17 00:00:00 2001 From: Niklas Date: Wed, 17 Jun 2020 00:09:26 +0200 Subject: [PATCH] added spotifyd config --- .config/spotifyd/change.sh | 3 +++ .config/spotifyd/spotifyd.conf | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 .config/spotifyd/change.sh create mode 100644 .config/spotifyd/spotifyd.conf diff --git a/.config/spotifyd/change.sh b/.config/spotifyd/change.sh new file mode 100755 index 0000000..fc06670 --- /dev/null +++ b/.config/spotifyd/change.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env sh + +notify-send "$(playerctl -f "{{title}} - {{artist}}" metadata)" diff --git a/.config/spotifyd/spotifyd.conf b/.config/spotifyd/spotifyd.conf new file mode 100644 index 0000000..b96ca0e --- /dev/null +++ b/.config/spotifyd/spotifyd.conf @@ -0,0 +1,13 @@ +[global] + +username = djeeberjr + +password_cmd = $HOME/.config/spotifyd/secret.sh + +backend = pulseaudio + +bitrate = 320 + +device_name = Spotifyd + +on_song_change_hook = $HOME/.config/spotifyd/change.sh