From 9a58fb71972d6c87057b3e60ca7879103d07d02d Mon Sep 17 00:00:00 2001 From: hellisabove Date: Thu, 8 Jun 2023 23:31:28 +0300 Subject: [PATCH] Changed colorscheme to cyberpunk --- config.h | 93 +++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 61 insertions(+), 32 deletions(-) diff --git a/config.h b/config.h index d2b9316..c73a73e 100644 --- a/config.h +++ b/config.h @@ -98,44 +98,73 @@ unsigned int tabspaces = 8; float alpha = 0.80; /* 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", - "#5c5cff", - "magenta", - "cyan", - "white", - - [255] = 0, - - /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", - "black", -}; +//static const char *colorname[] = { +// /* 8 normal colors */ +// "black", +// "red3", +// "green3", +// "yellow3", +// "blue2", +// "magenta3", +// "cyan3", +// "gray90", +// +// /* 8 bright colors */ +// "gray50", +// "red", +// "green", +// "yellow", +// "#5c5cff", +// "magenta", +// "cyan", +// "white", +// +// [255] = 0, +// +// /* more colors can be added after 255 to use with DefaultXX */ +// "#cccccc", +// "#555555", +// "black", +//}; + /* Terminal colors (16 first used in escape sequence) */ + static const char *colorname[] = { + /* 8 normal colors */ + [0] = "#123e7c", + [1] = "#ff0000", + [2] = "#d300c4", + [3] = "#f57800", + [4] = "#123e7c", + [5] = "#711c91", + [6] = "#0abdc6", + [7] = "#d7d7d5", + + /* 8 bright colors */ + [8] = "#1c61c2", + [9] = "#ff0000", + [10] = "#d300c4", + [11] = "#f57800", + [12] = "#00ff00", + [13] = "#711c91", + [14] = "#0abdc6", + [15] = "#d7d7d5", + + [255] = 0, + + /* more colors can be added after 255 to use with DefaultXX */ + [256] = "#0abdc6", // foreground + [257] = "#000b1e", // background + [258] = "#ffffff", // cursor + }; /* * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 7; -unsigned int defaultbg = 258; -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; +unsigned int defaultfg = 256; +unsigned int defaultbg = 257; +unsigned int defaultcs = 258; +static unsigned int defaultrcs = 258; /* * Default shape of cursor