summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorP.P.A <adolphs@moselle.moe>2023-07-08 15:21:31 +0200
committerP.P.A <adolphs@moselle.moe>2023-07-08 15:21:31 +0200
commite82dc664cdd2a46cee1f48d7f014e4de23fa872e (patch)
tree4257f1107e82e7ffcc5d8b478b29f7d80a3ec533 /config.def.h
parent6f0517618f413be22695ef2466995dc09c22391b (diff)
fix for xresources
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 9a678ec..d696dfd 100644
--- a/config.def.h
+++ b/config.def.h
@@ -132,10 +132,16 @@ static const char *colorname[] = {
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
+/*
unsigned int defaultfg = 258;
unsigned int defaultbg = 259;
unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;
+*/
+unsigned int defaultfg = 257;
+unsigned int defaultbg = 256;
+unsigned int defaultcs = 258;
+static unsigned int defaultrcs = 256;
/*
* https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
@@ -204,6 +210,7 @@ ResourcePref resources[] = {
{ "background", STRING, &colorname[256] },
{ "foreground", STRING, &colorname[257] },
{ "cursorColor", STRING, &colorname[258] },
+ { "alpha", FLOAT, &alpha },
{ "termname", STRING, &termname },
{ "shell", STRING, &shell },
{ "minlatency", INTEGER, &minlatency },