diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-12-08 20:12:54 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-12-08 20:12:54 -0500 |
commit | c0bd976881f7d77e052e8b6c92bb80f3c376e825 (patch) | |
tree | fcd7d9f97814619ef94ad5f177c1d2cb53a16cae /config.def.h | |
parent | bc28a24ca5eb34712d679118e5856c3d574a3df3 (diff) |
Current st configuration
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/config.def.h b/config.def.h index c179518..840ae86 100644 --- a/config.def.h +++ b/config.def.h @@ -4,13 +4,15 @@ * appearance * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html + * borderperc: percentage of cell width to use as a border + * 0 = no border, 100 = border width is same as cell width */ static char *font = "monospace:pixelsize=16:antialias=true:autohint=true"; static char *font2[] = { "Spleen 32x64:pixelsize=15:antialias=true:autohint=true" }; -static int borderpx = 2; +static int borderperc = 20; /* - * What program is executed by st depends of these precedence rules: + * What program is execed by st depends of these precedence rules: * 1: program passed with -e * 2: utmp option * 3: SHELL environment variable @@ -115,10 +117,6 @@ static const char *colorname[] = { "#ebdbb2", [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ - "#add8e6", /* 256 -> cursor */ - "#555555", /* 257 -> rev cursor*/ - "#0c1012", /* 258 -> bg */ - "#ebdbb2", /* 259 -> fg */ }; @@ -126,11 +124,11 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 259; +unsigned int defaultfg = 3; unsigned int defaultbg = 0; /* unsigned int defaultbg = 258; */ -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; +static unsigned int defaultcs = 3; +static unsigned int defaultrcs = 6; /* * Default shape of cursor @@ -193,7 +191,7 @@ ResourcePref resources[] = { { "blinktimeout", INTEGER, &blinktimeout }, { "bellvolume", INTEGER, &bellvolume }, { "tabspaces", INTEGER, &tabspaces }, - { "borderpx", INTEGER, &borderpx }, + { "borderperc", INTEGER, &borderperc }, { "cwscale", FLOAT, &cwscale }, { "chscale", FLOAT, &chscale }, { "alpha", FLOAT, &alpha }, |