aboutsummaryrefslogtreecommitdiff
path: root/defaults.h
diff options
context:
space:
mode:
Diffstat (limited to 'defaults.h')
-rw-r--r--defaults.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/defaults.h b/defaults.h
new file mode 100644
index 0000000..d822808
--- /dev/null
+++ b/defaults.h
@@ -0,0 +1,43 @@
+/* mt: A simple, tabbed, VTE based terminal
+ * Copyright 2010 mutantturkey and mt contributors.
+ *
+ * This file is part of mt.
+ *
+ * mt is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef DEFAULT_CONFIG_FILE
+#define DEFAULT_CONFIG_FILE g_build_path("/", g_get_home_dir(), ".mtrc")
+#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
+
+// The following are not yet used.
+#ifndef DEFAULT_FULLSCREEN
+#define DEFAULT_FULLSCREEN TRUE
+#endif
+#ifndef DEFAULT_BOLD
+#define DEFAULT_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