termite/config.h

60 lines
1.4 KiB
C
Raw Normal View History

2012-05-22 06:34:35 +02:00
#include <stdbool.h>
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-24 05:41:55 +02:00
#ifdef CLICKABLE_URL
2012-05-22 11:10:54 +02:00
static const char *url_regex = "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*";
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 12:53:48 +02:00
static const char *font = "Monospace 9";
2012-05-22 06:34:35 +02:00
static const long scrollback_lines = 1000;
static const char *foreground_color = "#dcdccc";
static const char *background_color = "#3f3f3f";
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
};
static const bool scroll_on_output = false;
static const bool scroll_on_keystroke = true;
2012-05-22 06:55:48 +02:00
static const bool audible_bell = false;
static const bool visible_bell = false;
static const bool mouse_autohide = false;
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