aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-09-30 00:41:51 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-09-30 00:41:51 +0200
commit1f6eabf364e17b0556994c5011622d0a8015bac0 (patch)
tree13ef0b750a3c89c0f16afbe52de02dae53a9c8d1 /config.def.h
parentc7691a1a46450d13e31b2494bad906bbaefa5f6d (diff)
downloadnetlink-notify-1f6eabf364e17b0556994c5011622d0a8015bac0.tar.gz
netlink-notify-1f6eabf364e17b0556994c5011622d0a8015bac0.tar.zst
rework big parts of the code
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 */