From 1f6eabf364e17b0556994c5011622d0a8015bac0 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 30 Sep 2014 00:41:51 +0200 Subject: rework big parts of the code --- config.def.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config.def.h (limited to 'config.def.h') 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 + * + * 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 %s is %s." +#define TEXT_NEWADDR "Interface %s has new %s address\n%s/%d." +#define TEXT_DELLINK "Interface %s has gone away." + +#endif /* CONFIG_H */ -- cgit v1.2.3-54-g00ecf