diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 00:58:41 +0530 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-04-23 00:58:41 +0530 |
commit | f7a61840a3a7f54cbeabf80fd60b4dc3c8097daf (patch) | |
tree | f8d4c72fb83968c5ca2b801479492ae6234be692 /config.def.h | |
parent | 1d10c72d94c52f5268d1be70275643653337d638 (diff) | |
download | st-f7a61840a3a7f54cbeabf80fd60b4dc3c8097daf.tar.gz st-f7a61840a3a7f54cbeabf80fd60b4dc3c8097daf.tar.bz2 st-f7a61840a3a7f54cbeabf80fd60b4dc3c8097daf.zip |
Applied patch st-focus
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h index 8b25d40..6c240cd 100644 --- a/config.def.h +++ b/config.def.h @@ -93,6 +93,9 @@ char *termname = "st-256color"; */ unsigned int tabspaces = 8; +/* bg opacity */ +float alpha = 0.93, alphaUnfocused = 0.6; + /* Terminal colors (16 first used in escape sequence) */ static const char *colorname[] = { /* 8 normal colors */ @@ -120,8 +123,7 @@ static const char *colorname[] = { /* more colors can be added after 255 to use with DefaultXX */ "#cccccc", "#555555", - "gray90", /* default foreground colour */ - "black", /* default background colour */ + "black", }; @@ -129,10 +131,11 @@ static const char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 258; -unsigned int defaultbg = 259; +unsigned int defaultfg = 7; +unsigned int defaultbg = 0; unsigned int defaultcs = 256; static unsigned int defaultrcs = 257; +unsigned int bg = 0, bgUnfocused = 16; /* * Default shape of cursor |