aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorAurélien Aptel <aurelien.aptel@gmail.com>2009-06-16 02:33:38 +0200
committerAurélien Aptel <aurelien.aptel@gmail.com>2009-06-16 02:33:38 +0200
commit19d9334d968d2a1ea9cad5a16d76d4c26564f4a4 (patch)
tree6c15000913cfef0ceb3455dfea08dacd22b0aeec /config.h
parent6305137834c649b131c0027e0ef30b40bd29387a (diff)
downloadst-19d9334d968d2a1ea9cad5a16d76d4c26564f4a4.tar.gz
st-19d9334d968d2a1ea9cad5a16d76d4c26564f4a4.tar.bz2
added/removed files, updated Makefile.
Diffstat (limited to 'config.h')
-rw-r--r--config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..c01354d
--- /dev/null
+++ b/config.h
@@ -0,0 +1,39 @@
+#define SHELL "/bin/bash"
+#define TAB 8
+
+#define FONT "fixed"
+#define BORDER 3
+#define LINESPACE 1 /* additional pixel between each line */
+
+/* Terminal colors */
+static char* colorname[] = {
+ "black",
+ "red",
+ "green",
+ "yellow",
+ "blue",
+ "magenta",
+ "cyan",
+ "white",
+};
+
+/* Default colors (colorname index) */
+/* foreground, background, cursor, visual bell */
+#define DefaultFG 7
+#define DefaultBG 0
+#define DefaultCS 1
+#define BellCol DefaultFG
+
+
+/* special keys */
+static Key key[] = {
+ { XK_Delete, "\033[3~" },
+ { XK_Home, "\033[1~" },
+ { XK_End, "\033[4~" },
+ { XK_Prior, "\033[5~" },
+ { XK_Next, "\033[6~" },
+ { XK_Left, "\033[D" },
+ { XK_Right, "\033[C" },
+ { XK_Up, "\033[A" },
+ { XK_Down, "\033[B" },
+};