diff options
author | Yigit Sever | 2020-05-22 23:49:23 +0300 |
---|---|---|
committer | Yigit Sever | 2020-05-22 23:49:23 +0300 |
commit | 880a77d757d43494ce4d4472fc0372f3c91a24a2 (patch) | |
tree | 66b78f29e6625eea832f92c68d1f81f5bc4211b2 | |
parent | 0a03a96409f4b874419e8d8ec3c7b14abae22292 (diff) | |
download | dotfiles-880a77d757d43494ce4d4472fc0372f3c91a24a2.tar.gz dotfiles-880a77d757d43494ce4d4472fc0372f3c91a24a2.tar.bz2 dotfiles-880a77d757d43494ce4d4472fc0372f3c91a24a2.zip |
tweak ncmpcpp notifications
-rwxr-xr-x | .config/dunst/dunstrc | 7 | ||||
-rw-r--r-- | .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" | |||
55 | timeout = "0s" | 55 | timeout = "0s" |
56 | 56 | ||
57 | [Spotify] | 57 | [Spotify] |
58 | appname = Spotify | 58 | appname = "Spotify" |
59 | format = "<b>Now Playing</b>\n%s\n%b" | 59 | format = "<b>Now Playing</b>\n%s\n%b" |
60 | 60 | ||
61 | [ncmpcpp] | ||
62 | appname = "ncmpcpp" | ||
63 | format = "<b>Now Playing</b>\n%s\n%b" | ||
64 | set_transient = true | ||
65 | |||
61 | [spliff] | 66 | [spliff] |
62 | appname = "spliff" | 67 | appname = "spliff" |
63 | format = "<b>ready for printing</b>\n%s\n%b" | 68 | format = "<b>ready for printing</b>\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 | |||
270 | ## Note: Custom command that will be executed each time song changes. Useful for | 270 | ## Note: Custom command that will be executed each time song changes. Useful for |
271 | ## notifications etc. | 271 | ## notifications etc. |
272 | ## | 272 | ## |
273 | execute_on_song_change = notify-send "now listening" "$(mpc current)" --app-name="ncmpcpp" --icon="folder-music" | 273 | execute_on_song_change = notify-send "$(mpc current)" --app-name="ncmpcpp" --icon="folder-music" |
274 | # | 274 | # |
275 | ## | 275 | ## |
276 | ## Note: Custom command that will be executed each time player state | 276 | ## Note: Custom command that will be executed each time player state |