From 254258b48b4ba761eae0a1563549e4f324564456 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Sat, 6 Jun 2020 13:59:25 -0700 Subject: opacity --- sys/cmd/term/config.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'sys/cmd/term/config.h') diff --git a/sys/cmd/term/config.h b/sys/cmd/term/config.h index a195786..e4b37ce 100644 --- a/sys/cmd/term/config.h +++ b/sys/cmd/term/config.h @@ -94,6 +94,9 @@ char *termname = "term-256color"; */ uint tabspaces = 4; +/* bg opacity */ +float alpha = 0.8; + /* Terminal colors (16 first used in escape sequence) */ static char *colorname[] = { /* 8 normal colors */ @@ -121,6 +124,7 @@ static char *colorname[] = { /* more colors can be added after 255 to use with DefaultXX */ "#cccccc", "#555555", + "black", }; @@ -128,9 +132,9 @@ static char *colorname[] = { * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -uint defaultfg = 7; -uint defaultbg = 0; -static uint defaultcs = 256; +uint defaultfg = 7; +uint defaultbg = 258; +static uint defaultcs = 256; static uint defaultrcs = 257; /* -- cgit v1.2.1