summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-22 00:20:42 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-22 00:20:42 +0900
commit5949803466744dbb8296a8bcc3538e4c8532c9f9 (patch)
tree8fd96149a10c78b1d0e0d5268fd1409c71dfd23b
parent0ecdf288140ccd0e3152531f22e8d61dbd2e24bc (diff)
modified st/config.def.h
-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 },