blob: 0905e33e36490251a5c17119842cf2749ba3cfdc (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/*
* (C) 2011-2024 by Christian Hesse <mail@eworm.de>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*
*/
#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_WIRELESS "Interface <b>%s</b> is <b>%s</b> on <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 */
|