diff options
author | Brian Bidulock | 2015-09-18 22:26:08 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-09-18 22:26:08 -0600 |
commit | ad5b78d3601ecb3ead7e81cb01e0b4f100005fdc (patch) | |
tree | ff4ba3e456456bdd96032bc57c5c79097a43bf3f /config.h | |
parent | ecd082c65e71def505a3f02c95c964d276d5bfe8 (diff) | |
download | aur-ad5b78d3601ecb3ead7e81cb01e0b4f100005fdc.tar.gz |
version 0.6.r32.gbf8c71e-1
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 31 |
1 files changed, 29 insertions, 2 deletions
@@ -5,11 +5,20 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char font[] = "Liberation Mono:size=9pt:antialias=true:autohint=false"; +static char font[] = "Liberation Mono:size=9pt: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"; +static char stty_args[] = "stty raw pass8 nl -echo -iexten -cstopb 38400"; /* identification sequence returned in DA and DECID */ static char vtiden[] = "\033[?6c"; @@ -104,6 +113,23 @@ static unsigned int defaultbg = 15; static unsigned int defaultcs = 21; /* + * Default shape of cursor + * 2: Block + * 4: Underline + * 6: IBeam + */ + +static unsigned int cursorshape = 2; + + +/* + * Default colour and shape of the mouse cursor + */ +static unsigned int mouseshape = XC_xterm; +static unsigned int mousefg = 17; +static unsigned int mousebg = 15; + +/* * Colors used, when the specific fg == defaultfg. So in reverse mode this * will reverse too. Another logic would only make the simple feature too * complex. @@ -124,6 +150,7 @@ static Mousekey mshortcuts[] = { static Shortcut shortcuts[] = { /* mask keysym function argument */ + { XK_ANY_MOD, XK_Break, sendbreak, {.i = 0} }, { ControlMask, XK_Print, toggleprinter, {.i = 0} }, { ShiftMask, XK_Print, printscreen, {.i = 0} }, { XK_ANY_MOD, XK_Print, printsel, {.i = 0} }, |