2012-05-22 11:10:54 +02:00
|
|
|
static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*";
|
2012-06-04 16:40:46 +02:00
|
|
|
|
2012-05-30 19:56:40 +02:00
|
|
|
#define URL_COMMAND(URL_MATCH) {"/usr/bin/firefox", URL_MATCH, NULL}
|
2012-05-22 11:10:54 +02:00
|
|
|
|
2012-05-25 14:05:08 +02:00
|
|
|
// 0.0: opaque, 1.0: transparent
|
|
|
|
//#define TRANSPARENCY 0.2
|
2012-05-24 08:51:40 +02:00
|
|
|
|
2012-05-22 06:34:35 +02:00
|
|
|
static const char *foreground_color = "#dcdccc";
|
|
|
|
static const char *background_color = "#3f3f3f";
|
2012-06-04 20:57:27 +02:00
|
|
|
static const char *cursor_color = "#dcdccc";
|
2012-05-22 06:34:35 +02:00
|
|
|
|
2012-06-07 20:36:28 +02:00
|
|
|
static const char *palette_s[16] = {
|
2012-05-22 14:58:39 +02:00
|
|
|
"#3f3f3f", // black
|
|
|
|
"#705050", // red
|
|
|
|
"#60b48a", // green
|
|
|
|
"#dfaf8f", // yellow
|
|
|
|
"#506070", // blue
|
|
|
|
"#dc8cc3", // magenta
|
|
|
|
"#8cd0d3", // cyan
|
|
|
|
"#dcdccc", // white
|
|
|
|
"#709080", // bright black
|
|
|
|
"#dca3a3", // bright red
|
|
|
|
"#c3bf9f", // bright green
|
|
|
|
"#f0dfaf", // bright yellow
|
|
|
|
"#94bff3", // bright blue
|
|
|
|
"#ec93d3", // bright magenta
|
|
|
|
"#93e0e3", // bright cyan
|
|
|
|
"#ffffff", // bright white
|
2012-05-22 06:34:35 +02:00
|
|
|
};
|
|
|
|
|
2012-05-25 16:18:50 +02:00
|
|
|
static const char *term = "vte-256color";
|
2012-05-31 15:31:54 +02:00
|
|
|
|
|
|
|
// keybindings
|
2012-05-31 15:38:13 +02:00
|
|
|
#define KEY_COPY c
|
|
|
|
#define KEY_PASTE v
|
|
|
|
#define KEY_PREV p
|
|
|
|
#define KEY_NEXT n
|
|
|
|
#define KEY_SEARCH f
|
|
|
|
#define KEY_RSEARCH r
|
|
|
|
#define KEY_URL j
|
|
|
|
#define KEY_RURL k
|