diff options
| author | P.P.A <adolphs@moselle.moe> | 2023-07-08 15:21:31 +0200 |
|---|---|---|
| committer | P.P.A <adolphs@moselle.moe> | 2023-07-08 15:21:31 +0200 |
| commit | e82dc664cdd2a46cee1f48d7f014e4de23fa872e (patch) | |
| tree | 4257f1107e82e7ffcc5d8b478b29f7d80a3ec533 | |
| parent | 6f0517618f413be22695ef2466995dc09c22391b (diff) | |
fix for xresources
| -rw-r--r-- | config.def.h | 7 | ||||
| -rw-r--r-- | config.h | 7 |
2 files changed, 14 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 }, @@ -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 }, |
