7 lines
187 B
Bash
Executable File
7 lines
187 B
Bash
Executable File
#!/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
|