From 3a90c9efe5bd819fd19c51714878bf9e7d64f856 Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Tue, 19 Mar 2019 07:33:31 +0000 Subject: Changes for base16-synth-midnight colours --- PKGBUILD | 2 +- config.h | 50 ++++++++++++++++++-------------------------------- 2 files changed, 19 insertions(+), 33 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index a14ead1..1176d52 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -13,7 +13,7 @@ url="http://st.suckless.org" source=(http://dl.suckless.org/st/$pkgname-$pkgver.tar.gz config.h) sha256sums=('c4fb0fe2b8d2d3bd5e72763e80a8ae05b7d44dbac8f8e3bb18ef0161c7266926' - 'bed7977c855f02e3968a754e813015e4214b52102e3c54712d8a52245bcceeec') + 'f6f330f37c084c8c10a06c0c4766a4fc65752536cc431e0593c2323beea67068') prepare() { cd $srcdir/$pkgname-$pkgver diff --git a/config.h b/config.h index 82b1b09..10995c0 100644 --- a/config.h +++ b/config.h @@ -84,42 +84,28 @@ unsigned int tabspaces = 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", - "#5c5cff", - "magenta", - "cyan", - "white", - - [255] = 0, - - /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", + "#040404", /* base00 */ + "#B53B50", /* base08 */ + "#06EA61", /* base0B */ + "#DAE84D", /* base0A */ + "#03AEFF", /* base0D */ + "#EA5CE2", /* base0E */ + "#7CEDE9", /* base0C */ + "#DFDBDF", /* base05 */ + "#61507A", /* base03 */ + "#E4600E", /* base09 */ + "#141414", /* base01 */ + "#242424", /* base02 */ + "#BFBBBF", /* base04 */ + "#EFEBEF", /* base06 */ + "#9D4D0E", /* base0F */ + "#FFFBFF", /* base07 */ }; - -/* - * Default colors (colorname index) - * foreground, background, cursor, reverse cursor - */ unsigned int defaultfg = 7; unsigned int defaultbg = 0; -static unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; +static unsigned int defaultcs = 13; +static unsigned int defaultrcs = 0; /* * Default shape of cursor -- cgit v1.2.3