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