From af8c826b135b7774df516eccebf805d236fc56fe Mon Sep 17 00:00:00 2001 From: zachir Date: Fri, 10 Sep 2021 18:27:31 -0500 Subject: config.h: set tabspaces to 4, fix cursor/background color chosen, fix iso14755 command --- config.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 0452e84..905c3b5 100644 --- a/config.h +++ b/config.h @@ -98,7 +98,7 @@ char *termname = "st-256color"; * * stty tabs */ -unsigned int tabspaces = 8; +unsigned int tabspaces = 4; /* bg opacity */ float alpha = 0.8; @@ -140,8 +140,8 @@ static const char *colorname[] = { * foreground, background, cursor, reverse cursor */ unsigned int defaultfg = 257; -unsigned int defaultbg = 256; -static unsigned int defaultcs = 258; +unsigned int defaultbg = 258; +static unsigned int defaultcs = 256; static unsigned int defaultrcs = 259; /* @@ -194,9 +194,9 @@ ResourcePref resources[] = { { "color13", STRING, &colorname[13] }, { "color14", STRING, &colorname[14] }, { "color15", STRING, &colorname[15] }, - { "background", STRING, &colorname[256] }, + { "cursorColor", STRING, &colorname[256] }, { "foreground", STRING, &colorname[257] }, - { "cursorColor", STRING, &colorname[258] }, + { "background", STRING, &colorname[258] }, { "reverseCursor",STRING, &colorname[259] }, { "termname", STRING, &termname }, { "shell", STRING, &shell }, @@ -220,7 +220,8 @@ static uint forcemousemod = ShiftMask; /* * Command used to query unicode glyphs. */ -char *iso14755_cmd = "dmenu -w \"$WINDOWID\" -p codepoint: