summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/config.def.h b/config.def.h
index bc64e88..f262cfe 100644
--- a/config.def.h
+++ b/config.def.h
@@ -26,15 +26,14 @@
#define ICON_AUDIO_X_GENERIC "audio-x-generic"
/* strings used to display notification messages
- * TEXT_PLAY_* need to include one string modifier '%s' each. */
-#define TEXT_TOPIC "MPD Notification"
-#define TEXT_PLAY_PAUSE_STATE "%s "
-#define TEXT_PLAY_PAUSE_TITLE "<b>%s</b>"
-#define TEXT_PLAY_PAUSE_ARTIST "by <i>%s</i>"
-#define TEXT_PLAY_PAUSE_ALBUM "from <i>%s</i>"
-#define TEXT_STOP "Stopped playback"
-#define TEXT_NONE "No action received yet."
-#define TEXT_UNKNOWN "(unknown)"
+ * TEXT_PLAY & TEXT_PAUSE can include several specifiers:
+ * %t for title, %a for artist and %A for album */
+#define TEXT_TOPIC "MPD Notification"
+#define TEXT_PLAY "Playing <b>%t</b>\nby <i>%a</i>\nfrom <i>%A</i>"
+#define TEXT_PAUSE "Paused <b>%t</b>\nby <i>%a</i>\nfrom <i>%A</i>"
+#define TEXT_STOP "Stopped playback"
+#define TEXT_NONE "No action received yet"
+#define TEXT_UNKNOWN "(unknown)"
/* this is a regular expression that has to match image filename used
* for artwork */