From 2eb70ceccc5f8639bbf4cc50af7e5dac9d42a894 Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 29 Aug 2012 10:10:50 -0400 Subject: added a URL opener, by default using the xdg-open program. This is a setting in defaults.h --- defaults.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'defaults.h') diff --git a/defaults.h b/defaults.h index a2ede96..3e36bf8 100644 --- a/defaults.h +++ b/defaults.h @@ -17,13 +17,18 @@ * along with this program. If not, see . */ +#ifndef DEFAULT_BROWSER_COMMAND +#define DEFAULT_BROWSER_COMMAND "xdg-open" +#endif #ifndef DEFAULT_CONFIG_FILE #define DEFAULT_CONFIG_FILE g_build_path("/", g_get_home_dir(), ".svterc", NULL); #endif + #ifndef DEFAULT_FONT #define DEFAULT_FONT "monospace 10" #endif + #ifndef DEFAULT_URL_REGEX #define DEFAULT_URL_REGEX "(ftp|http)s?://[-a-zA-Z0-9.?$%&/=_~#.,:;+]*" #endif @@ -32,17 +37,22 @@ #ifndef DEFAULT_FULLSCREEN #define DEFAULT_FULLSCREEN TRUE #endif + #ifndef DEFAULT_ALLOW_BOLD #define DEFAULT_ALLOW_BOLD TRUE #endif + #ifndef DEFAULT_NUM_SCROLLBACK_LINES #define DEFAULT_NUM_SCROLLBACK_LINES -1 #endif + #ifndef DEFAULT_TRANSPARENT_BG #define DEFAULT_TRANSPARENT_BG FALSE #endif + #ifndef DEFAULT_PALETTE_SIZE #define DEFAULT_PALETTE_SIZE 16 #endif + #define DEFAULT_FOREGROUND_COLOR "#c0c0c0" #define DEFAULT_BACKGROUND_COLOR "#000" -- cgit v1.2.3