aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
new file mode 100644
index 0000000..f8c9502
--- /dev/null
+++ b/config.def.h
@@ -0,0 +1,26 @@
+/*
+ * (C) 2014 by Christian Hesse <mail@eworm.de>
+ *
+ * This software may be used and distributed according to the terms
+ * of the GNU General Public License, incorporated herein by reference.
+ */
+
+#ifndef CONFIG_H
+#define CONFIG_H
+
+/* how long to show notifications */
+#define NOTIFICATION_TIMEOUT 10000
+
+/* define icons */
+#define ICON_NETWORK_ADDRESS "netlink-notify-address"
+#define ICON_NETWORK_UP "netlink-notify-up"
+#define ICON_NETWORK_DOWN "netlink-notify-down"
+#define ICON_NETWORK_AWAY "netlink-notify-away"
+
+/* define notification text messages */
+#define TEXT_TOPIC "Netlink Notification"
+#define TEXT_NEWLINK "Interface <b>%s</b> is <b>%s</b>."
+#define TEXT_NEWADDR "Interface <b>%s</b> has new %s address\n<b>%s</b>/%d."
+#define TEXT_DELLINK "Interface <b>%s</b> has gone away."
+
+#endif /* CONFIG_H */