summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2021-09-10 18:27:31 -0500
committerzachir <zachir@librem.one>2021-09-10 18:27:31 -0500
commitaf8c826b135b7774df516eccebf805d236fc56fe (patch)
treec45da9a64cea03edcc684ca596b6c9ee2fcc7010
parentb78ca2c728b6efeed2327db3feb8b232801be83f (diff)
config.h: set tabspaces to 4, fix cursor/background color chosen, fix iso14755 command
-rw-r--r--config.h13
1 files changed, 7 insertions, 6 deletions
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: </dev/null";
+/* char *iso14755_cmd = "dmenu -w \"$WINDOWID\" -p codepoint: </dev/null"; */
+char *iso14755_cmd = "dmenu -p codepoint: </dev/null";
/*
* Internal mouse shortcuts.