summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st/config.def.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/st/config.def.h b/st/config.def.h
index aab0d0f..f7d8745 100644
--- a/st/config.def.h
+++ b/st/config.def.h
@@ -168,11 +168,13 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
-unsigned int defaultfg = 259;
-unsigned int defaultbg = 258;
-unsigned int defaultcs = 256;
-static unsigned int defaultrcs = 257;
-unsigned int bg = 258, bgUnfocused = 261;
+unsigned int bg = 258;
+unsigned int bgUnfocused = 261;
+unsigned int background = 258;
+unsigned int defaultfg = 259;
+unsigned int defaultbg = 258;
+unsigned int defaultcs = 256;
+unsigned int defaultrcs = 257;
/*
* Xresources preferences to load at startup
@@ -196,9 +198,9 @@ ResourcePref resources[] = {
{ "color13", STRING, &colorname[13] },
{ "color14", STRING, &colorname[14] },
{ "color15", STRING, &colorname[15] },
- { "background", STRING, &colorname[256] },
- { "foreground", STRING, &colorname[257] },
- { "cursorColor", STRING, &colorname[258] },
+ { "cursorColor", STRING, &colorname[256] },
+ { "background", STRING, &colorname[258] },
+ { "foreground", STRING, &colorname[259] },
{ "termname", STRING, &termname },
{ "shell", STRING, &shell },
{ "minlatency", INTEGER, &minlatency },