diff options
| author | sinanmohd <pcmsinan@gmail.com> | 2021-09-06 19:10:12 +0530 | 
|---|---|---|
| committer | sinanmohd <pcmsinan@gmail.com> | 2021-09-06 19:10:12 +0530 | 
| commit | 87053b65c6a22509b9db7bf064cfc276109cc1f8 (patch) | |
| tree | 1379b46b7d97f74a6ac45a0f67237af2a89c9aed | |
| parent | c664b36fab185c51924cdaf664d54af8af47f540 (diff) | |
updated color,noto emoji
| -rw-r--r-- | config.def.h | 68 | 
1 files changed, 36 insertions, 32 deletions
| diff --git a/config.def.h b/config.def.h index 5f7ce6e..cbfe650 100644 --- a/config.def.h +++ b/config.def.h @@ -9,7 +9,7 @@ static char *font = "JetBrains Mono:pixelsize=12:antialias=true:autohint=true";  /* Spare fonts */  static char *font2[] = {  	"JetBrainsMono Nerd Font Mono:pixelsize=12:antialias=true:autohint=true", -	"JoyPixels:pixelsize=10:antialias=true:autohint=true" +	"Noto Color Emoji:pixelsize=10:antialias=true:autohint=true"  /*	"Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */  }; @@ -105,45 +105,49 @@ float alpha = 0.8;  /* Terminal colors (16 first used in escape sequence) */  static const char *colorname[] = { -	/* 8 normal colors */ -	"black", -	"red3", -	"green3", -	"yellow3", -	"blue2", -	"magenta3", -	"cyan3", -	"gray90", - -	/* 8 bright colors */ -	"gray50", -	"red", -	"green", -	"yellow", -	"#6071a9", -	"magenta", -	"cyan", -	"white", - -	[255] = 0, - -	/* more colors can be added after 255 to use with DefaultXX */ -	"#cccccc", -	"#555555", -	"#22212f", -}; +  /* 8 normal colors */ +  [0] = "#22212f", /* black   */ +  [1] = "#ff5555", /* red     */ +  [2] = "#50fa7b", /* green   */ +  [3] = "#f1fa8c", /* yellow  */ +  [4] = "#6071a9", /* blue    */ +  [5] = "#ff79c6", /* magenta */ +  [6] = "#8cd5df", /* cyan    */ +  [7] = "#ced3e2", /* white   */ + +  /* 8 bright colors */ +  [8]  = "#6071a9", /* black   */ +  [9]  = "#ff5555", /* red     */ +  [10] = "#50fa7b", /* green   */ +  [11] = "#f1fa8c", /* yellow  */ +  [12] = "#6071a9", /* blue    */ +  [13] = "#ff79c6", /* magenta */ +  [14] = "#8cd5df", /* cyan    */ +  [15] = "#ced3e2", /* white   */ + +  /* special colors */ +  [256] = "#22212f", /* background */ +  [257] = "#ced3e2", /* foreground */ +};  /*   * Default colors (colorname index) - * foreground, background, cursor, reverse cursor + * foreground, background, cursor   */ -unsigned int defaultfg = 7; -unsigned int defaultbg = 258; -static unsigned int defaultcs = 256; +unsigned int defaultfg = 257; +unsigned int defaultbg = 256; +static unsigned int defaultcs = 257;  static unsigned int defaultrcs = 257;  /* + * Colors used, when the specific fg == defaultfg. So in reverse mode this + * will reverse too. Another logic would only make the simple feature too + * complex. + */ +unsigned int defaultitalic = 7; +unsigned int defaultunderline = 7; +/*   * Default shape of cursor   * 2: Block ("█")   * 4: Underline ("_") | 
