aboutsummaryrefslogtreecommitdiffstats
path: root/st-custom/config.h
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2015-08-04 18:22:50 +0200
committerTharre <tharre3@gmail.com>2015-08-04 18:22:50 +0200
commit28ef1ecdd7e6c96249fdb488a3a017b4b46aa42d (patch)
treec4187e9098ea0c7790d6f22cfc75a471faa4bb64 /st-custom/config.h
parent4ecc8212a30bab604ad161d02eea802399bda567 (diff)
downloadpkgbuilds-28ef1ecdd7e6c96249fdb488a3a017b4b46aa42d.tar.gz
pkgbuilds-28ef1ecdd7e6c96249fdb488a3a017b4b46aa42d.tar.xz
pkgbuilds-28ef1ecdd7e6c96249fdb488a3a017b4b46aa42d.zip
st: update configuration
Diffstat (limited to 'st-custom/config.h')
-rw-r--r--st-custom/config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/st-custom/config.h b/st-custom/config.h
index 248a84f..96a81f4 100644
--- a/st-custom/config.h
+++ b/st-custom/config.h
@@ -7,6 +7,15 @@
*/
static char font[] = "monospace:size=14:antialias=true:autohint=true";
static int borderpx = 2;
+
+/*
+ * What program is execed by st depends of these precedence rules:
+ * 1: program passed with -e
+ * 2: utmp option
+ * 3: SHELL environment variable
+ * 4: value of shell in /etc/passwd
+ * 5: value of shell in config.h
+ */
static char shell[] = "/bin/sh";
static char *utmp = NULL;
static char stty_args[] = "stty raw -echo -iexten echonl";
@@ -96,6 +105,13 @@ static unsigned int defaultfg = 7;
static unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
+/*
+ * Default colour and shape of the mouse cursor
+ */
+static unsigned int mouseshape = XC_xterm;
+static unsigned int mousefg = 7;
+static unsigned int mousebg = 0;
+
/* background opacity */
static const int alpha = 0xCC; /* 80% alpha */