termite/config.h

52 lines
1.3 KiB
C
Raw Normal View History

2012-05-22 13:47:51 +02:00
#define URGENT_ON_BEEP
2012-05-22 14:22:31 +02:00
#define DYNAMIC_TITLE
2012-05-24 05:41:55 +02:00
#define CLICKABLE_URL
2012-05-30 12:54:10 +02:00
//#define ICON_NAME "terminal"
2012-05-22 13:47:51 +02:00
2012-05-22 11:10:54 +02:00
static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*";
#ifdef CLICKABLE_URL
2012-05-30 19:56:40 +02:00
#define URL_COMMAND(URL_MATCH) {"/usr/bin/firefox", URL_MATCH, NULL}
2012-05-24 05:41:55 +02:00
#endif
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
static const char *colors[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-06-02 02:43:00 +02:00
#define CURSOR_BLINK SYSTEM // SYSTEM, ON or OFF
#define CURSOR_SHAPE BLOCK // BLOCK, UNDERLINE or IBEAM
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