leave url_regex outside of an ifdef for now
This commit is contained in:
parent
9cc045181e
commit
b31388d4fc
3
config.h
3
config.h
|
@ -5,8 +5,9 @@
|
||||||
#define CLICKABLE_URL
|
#define CLICKABLE_URL
|
||||||
//#define ICON_NAME "terminal"
|
//#define ICON_NAME "terminal"
|
||||||
|
|
||||||
#ifdef CLICKABLE_URL
|
|
||||||
static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*";
|
static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*";
|
||||||
|
|
||||||
|
#ifdef CLICKABLE_URL
|
||||||
#define URL_COMMAND(URL_MATCH) {"/usr/bin/firefox", URL_MATCH, NULL}
|
#define URL_COMMAND(URL_MATCH) {"/usr/bin/firefox", URL_MATCH, NULL}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue