aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.def.h3
-rw-r--r--mpd-notification.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/config.def.h b/config.def.h
index 65e7c33..8d7f8ea 100644
--- a/config.def.h
+++ b/config.def.h
@@ -8,6 +8,9 @@
#ifndef _CONFIG_H
#define _CONFIG_H
+/* how long to display notifications */
+#define NOTIFICATION_TIMEOUT 10000
+
/* name of the icon used for notifications */
#define ICON_SOUND "sound"
diff --git a/mpd-notification.h b/mpd-notification.h
index c618f68..7ff485c 100644
--- a/mpd-notification.h
+++ b/mpd-notification.h
@@ -25,8 +25,6 @@
#define PROGNAME "mpd-notification"
-#define NOTIFICATION_TIMEOUT 10000
-
/*** received_signal ***/
void received_signal(int signal);