From 880a77d757d43494ce4d4472fc0372f3c91a24a2 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Fri, 22 May 2020 23:49:23 +0300 Subject: tweak ncmpcpp notifications --- .config/dunst/dunstrc | 7 ++++++- .ncmpcpp/config | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc index 7a05b95..473e505 100755 --- a/.config/dunst/dunstrc +++ b/.config/dunst/dunstrc @@ -55,9 +55,14 @@ frame_color = "#bf616a" timeout = "0s" [Spotify] -appname = Spotify +appname = "Spotify" format = "Now Playing\n%s\n%b" +[ncmpcpp] +appname = "ncmpcpp" +format = "Now Playing\n%s\n%b" +set_transient = true + [spliff] appname = "spliff" format = "ready for printing\n%s\n%b" diff --git a/.ncmpcpp/config b/.ncmpcpp/config index 580e8de..5e9cf38 100644 --- a/.ncmpcpp/config +++ b/.ncmpcpp/config @@ -270,7 +270,7 @@ mpd_music_dir = ~/Music ## Note: Custom command that will be executed each time song changes. Useful for ## notifications etc. ## -execute_on_song_change = notify-send "now listening" "$(mpc current)" --app-name="ncmpcpp" --icon="folder-music" +execute_on_song_change = notify-send "$(mpc current)" --app-name="ncmpcpp" --icon="folder-music" # ## ## Note: Custom command that will be executed each time player state -- cgit v1.2.3-70-g09d2