From f58098924861b525364147483f90ec68c9d00603 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Wed, 26 Aug 2020 10:29:01 +0200 Subject: [PATCH] ncmpcpp: Show notification on song change --- home/.config/ncmpcpp/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/.config/ncmpcpp/config b/home/.config/ncmpcpp/config index 1e0472f..1d87eee 100644 --- a/home/.config/ncmpcpp/config +++ b/home/.config/ncmpcpp/config @@ -18,3 +18,6 @@ seek_time = 5 # More modern UI user_interface = alternative + +# Desktop notification on song change +execute_on_song_change = notify-send -t 5000 "Now Playing" "$(mpc --format '%title% \n%artist% – %album%' current)" -i "$(dirname $HOME/Music/"$(mpc --format %file% current)")/cover.jpg"