From c4996a305ac14e9d84ac7451f22ea135f58d7379 Mon Sep 17 00:00:00 2001 From: Tovi Jaeschke-Rogers Date: Tue, 15 Nov 2022 08:10:20 +1030 Subject: [PATCH] Add gruvbox colorscheme --- config.h | 75 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 48 insertions(+), 27 deletions(-) diff --git a/config.h b/config.h index bce9380..118101d 100644 --- a/config.h +++ b/config.h @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Liberation Mono:pixelsize=14:antialias=true:autohint=true"; +static char *font = "Liberation Mono:pixelsize=16:antialias=true:autohint=true"; static int borderpx = 2; /* @@ -120,38 +120,59 @@ static const char *colorname[] = { // [256] = "#171717", /* background */ // [257] = "#f8f8f8", /* foreground */ - [0] = "#323437", - [1] = "#ff5454", - [2] = "#8cc85f", - [3] = "#e3c78a", - [4] = "#80a0ff", - [5] = "#d183e8", - [6] = "#79dac8", - [7] = "#a1aab8", - - [8] = "#7c8f8f", - [9] = "#ff5189", - [10] = "#36c692", - [11] = "#bfbf97", - [12] = "#74b2ff", - [13] = "#ae81ff", - [14] = "#85dc85", - [15] = "#e2637f", - - [255] = 0, - [256] = "#eeeeee", - [257] = "#f8f8f2", - [258] = "#080808", - [259]= "#eeeeee", +// MOONFLY +// [0] = "#323437", +// [1] = "#993232", +// [2] = "#8cc85f", +// [3] = "#e3c78a", +// [4] = "#80a0ff", +// [5] = "#d183e8", +// [6] = "#79dac8", +// [7] = "#a1aab8", +// +// [8] = "#7c8f8f", +// [9] = "#ff5189", +// [10] = "#36c692", +// [11] = "#bfbf97", +// [12] = "#74b2ff", +// [13] = "#ae81ff", +// [14] = "#85dc85", +// [15] = "#e2637f", +// +// [255] = 0, +// [256] = "#eeeeee", +// [257] = "#f8f8f2", +// [258] = "#080808", +// [259]= "#eeeeee", + + /* 8 normal colors */ + [0] = "#282828", /* hard contrast: #1d2021 / soft contrast: #32302f */ + [1] = "#cc241d", /* red */ + [2] = "#98971a", /* green */ + [3] = "#d79921", /* yellow */ + [4] = "#458588", /* blue */ + [5] = "#b16286", /* magenta */ + [6] = "#689d6a", /* cyan */ + [7] = "#a89984", /* white */ + + /* 8 bright colors */ + [8] = "#928374", /* black */ + [9] = "#fb4934", /* red */ + [10] = "#b8bb26", /* green */ + [11] = "#fabd2f", /* yellow */ + [12] = "#83a598", /* blue */ + [13] = "#d3869b", /* magenta */ + [14] = "#8ec07c", /* cyan */ + [15] = "#ebdbb2", /* white */ }; /* * Default colors (colorname index) * foreground, background, cursor */ -unsigned int defaultfg = 259; -unsigned int defaultbg = 258; -static unsigned int defaultcs = 256; +unsigned int defaultfg = 15; +unsigned int defaultbg = 0; +static unsigned int defaultcs = 15; static unsigned int defaultrcs = 257; /*