From 389c123beb48dab2c8a179b86e4f697b6bbd6c4d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 25 Jul 2013 09:13:15 +0200 Subject: introduce config.h --- mpd-notification.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'mpd-notification.c') diff --git a/mpd-notification.c b/mpd-notification.c index 6baa627..6ce248b 100644 --- a/mpd-notification.c +++ b/mpd-notification.c @@ -14,6 +14,8 @@ #include #include +#include "config.h" + #define PROGNAME "mpd-notification" #define NOTIFICATION_TIMEOUT 10000 @@ -21,14 +23,6 @@ #define DEBUG 0 #endif -#define ICON_SOUND "sound" - -#define TEXT_TOPIC "MPD Notification" -#define TEXT_PLAY "Playing %s\nby %s\nfrom %s" -#define TEXT_PAUSE "Paused playback" -#define TEXT_STOP "Stopped playback" -#define TEXT_UNKNOWN "(unknown)" - int main(int argc, char ** argv) { char * album = NULL, * artist = NULL, * notifystr = NULL, * title = NULL; GError * error = NULL; -- cgit v1.2.3-54-g00ecf