From e77592fb54057e331dea65d293ede7856d2f2ba1 Mon Sep 17 00:00:00 2001 From: zachir Date: Tue, 18 Jan 2022 21:19:16 -0600 Subject: st: update base to 0.8.5 --- config.h | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 5bb289c..1f9b5e3 100644 --- a/config.h +++ b/config.h @@ -98,7 +98,7 @@ char *termname = "st-256color"; * * stty tabs */ -unsigned int tabspaces = 4; +unsigned int tabspaces = 8; /* bg opacity */ float alpha = 0.8; @@ -130,8 +130,8 @@ static const char *colorname[] = { /* more colors can be added after 255 to use with DefaultXX */ "#cccccc", "#555555", - "black", - "gray90", + "gray90", /* default foreground colour */ + "black", /* default background colour */ }; @@ -139,10 +139,10 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 257; -unsigned int defaultbg = 258; -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 259; +unsigned int defaultfg = 258; +unsigned int defaultbg = 259; +unsigned int defaultcs = 256; +static unsigned int defaultrcs = 257; /* * Default shape of cursor @@ -194,9 +194,9 @@ ResourcePref resources[] = { { "color13", STRING, &colorname[13] }, { "color14", STRING, &colorname[14] }, { "color15", STRING, &colorname[15] }, - { "cursorColor", STRING, &colorname[256] }, + { "background", STRING, &colorname[256] }, { "foreground", STRING, &colorname[257] }, - { "background", STRING, &colorname[258] }, + { "cursorColor", STRING, &colorname[258] }, { "reverseCursor",STRING, &colorname[259] }, { "termname", STRING, &termname }, { "shell", STRING, &shell }, @@ -220,8 +220,7 @@ static uint forcemousemod = ShiftMask; /* * Command used to query unicode glyphs. */ -/* char *iso14755_cmd = "dmenu -w \"$WINDOWID\" -p codepoint: