#!/bin/sh
song=$(playerctl metadata --format "{{ title }}\n{{ artist }}")
if [[ $PLAYER_EVENT = "load" ]]; then
notify-send "Now Playing" "$song" --icon=~/.config/spotifyd/logo.png
fi