|
|
@ -5,7 +5,7 @@ |
|
|
|
* |
|
|
|
* |
|
|
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
|
|
|
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
|
|
|
|
*/ |
|
|
|
*/ |
|
|
|
static char *font = "Fira Code:pixelsize=18:antialias=true:autohint=true"; |
|
|
|
static char *font = "Comic Code Ligatures:pixelsize=18:antialias=true:autohint=true"; |
|
|
|
#if FONT2_PATCH |
|
|
|
#if FONT2_PATCH |
|
|
|
/* Spare fonts */ |
|
|
|
/* Spare fonts */ |
|
|
|
static char *font2[] = { |
|
|
|
static char *font2[] = { |
|
|
@ -152,32 +152,31 @@ float alphaUnfocused = 0.6; |
|
|
|
/* Terminal colors (16 first used in escape sequence) */ |
|
|
|
/* Terminal colors (16 first used in escape sequence) */ |
|
|
|
static const char *colorname[] = { |
|
|
|
static const char *colorname[] = { |
|
|
|
/* 8 normal colors */ |
|
|
|
/* 8 normal colors */ |
|
|
|
"black", |
|
|
|
"#3b4252", /* 0: nord1 */ |
|
|
|
"red3", |
|
|
|
"#bf616a", /* 1: nord11 */ |
|
|
|
"green3", |
|
|
|
"#a3be8c", /* 2: nord14 */ |
|
|
|
"yellow3", |
|
|
|
"#ebcb8b", /* 3: nord13 */ |
|
|
|
"blue2", |
|
|
|
"#81a1c1", /* 4: nord9 */ |
|
|
|
"magenta3", |
|
|
|
"#b48ead", /* 5: nord15 */ |
|
|
|
"cyan3", |
|
|
|
"#88c0d0", /* 6: nord8 */ |
|
|
|
"gray90", |
|
|
|
"#e5e9f0", /* 7: nord5 */ |
|
|
|
|
|
|
|
|
|
|
|
/* 8 bright colors */ |
|
|
|
/* 8 bright colors */ |
|
|
|
"gray50", |
|
|
|
"#4c566a", /* 8: nord3 */ |
|
|
|
"red", |
|
|
|
"#bf616a", /* 9: nord11 */ |
|
|
|
"green", |
|
|
|
"#a3be8c", /* 10: nord14 */ |
|
|
|
"yellow", |
|
|
|
"#ebcb8b", /* 11: nord3 */ |
|
|
|
"#5c5cff", |
|
|
|
"#81a1c1", /* 12: nord9 */ |
|
|
|
"magenta", |
|
|
|
"#b48ead", /* 13: nord15 */ |
|
|
|
"cyan", |
|
|
|
"#8fbcbb", /* 14: nord7 */ |
|
|
|
"white", |
|
|
|
"#eceff4", /* 15: nord6 */ |
|
|
|
|
|
|
|
|
|
|
|
[255] = 0, |
|
|
|
[255] = 0, |
|
|
|
|
|
|
|
|
|
|
|
/* more colors can be added after 255 to use with DefaultXX */ |
|
|
|
/* more colors can be added after 255 to use with DefaultXX */ |
|
|
|
"#add8e6", /* 256 -> cursor */ |
|
|
|
"#d8dee9", /* 256 -> cursor */ |
|
|
|
"#555555", /* 257 -> rev cursor*/ |
|
|
|
"#2e3440", /* 257 -> rev cursor*/ |
|
|
|
"#000000", /* 258 -> bg */ |
|
|
|
"#000000", /* 256 -> bg */ /* 258 */ |
|
|
|
"#e5e5e5", /* 259 -> fg */ |
|
|
|
"#e5e5e5", /* 8 -> fg */ /* 259 */ |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -189,11 +188,11 @@ static const char *colorname[] = { |
|
|
|
unsigned int defaultbg = 0; |
|
|
|
unsigned int defaultbg = 0; |
|
|
|
unsigned int bg = 17, bgUnfocused = 16; |
|
|
|
unsigned int bg = 17, bgUnfocused = 16; |
|
|
|
#else |
|
|
|
#else |
|
|
|
unsigned int defaultbg = 258; |
|
|
|
unsigned int defaultbg = 257; |
|
|
|
#endif // ALPHA_FOCUS_HIGHLIGHT_PATCH
|
|
|
|
#endif // ALPHA_FOCUS_HIGHLIGHT_PATCH
|
|
|
|
unsigned int defaultfg = 259; |
|
|
|
unsigned int defaultfg = 256; |
|
|
|
unsigned int defaultcs = 256; |
|
|
|
unsigned int defaultcs = 256; |
|
|
|
unsigned int defaultrcs = 257; |
|
|
|
unsigned int defaultrcs = 8; |
|
|
|
|
|
|
|
|
|
|
|
#if VIM_BROWSE_PATCH |
|
|
|
#if VIM_BROWSE_PATCH |
|
|
|
unsigned int const currentBg = 6, buffSize = 2048; |
|
|
|
unsigned int const currentBg = 6, buffSize = 2048; |
|
|
|