From 08eaa176d565986ba9c2078594de2b89fac96fe3 Mon Sep 17 00:00:00 2001 From: Vaclav Uruba Date: Fri, 14 Jul 2023 11:11:18 +0200 Subject: [PATCH] update config --- config.def.h | 56 ++++++++++++++++++++++++---------------------------- 1 file changed, 26 insertions(+), 30 deletions(-) diff --git a/config.def.h b/config.def.h index 91ab8ca..b451123 100644 --- a/config.def.h +++ b/config.def.h @@ -5,7 +5,7 @@ * * font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html */ -static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true"; +static char *font = "JetBrains Mono Nerd Font:size=12:antialias=true:autohint=true"; static int borderpx = 2; /* @@ -95,44 +95,40 @@ 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", + /* 8 normal colors */ + [0] = "#1d1f21", /* black */ + [1] = "#cc342b", /* red */ + [2] = "#198844", /* green */ + [3] = "#fba922", /* yellow */ + [4] = "#3971ed", /* blue */ + [5] = "#a36ac7", /* magenta */ + [6] = "#3971ed", /* cyan */ + [7] = "#c5c8c6", /* white */ - [255] = 0, + /* 8 bright colors */ + [8] = "#969896", /* black */ + [9] = "#cc342b", /* red */ + [10] = "#198844", /* green */ + [11] = "#fba922", /* yellow */ + [12] = "#3971ed", /* blue */ + [13] = "#a36ac7", /* magenta */ + [14] = "#3971ed", /* cyan */ + [15] = "#ffffff", /* white */ - /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", - "gray90", /* default foreground colour */ - "black", /* default background colour */ + /* special colors */ + [256] = "#1d1f21", /* background */ + [257] = "#c5c8c6", /* foreground */ }; - /* * Default colors (colorname index) * foreground, background, cursor, reverse cursor */ -unsigned int defaultfg = 258; -unsigned int defaultbg = 259; -unsigned int defaultcs = 256; -static unsigned int defaultrcs = 257; +unsigned int defaultfg = 257; +unsigned int defaultbg = 256; +unsigned int defaultcs = 257; +static unsigned int defaultrcs = 256; /* * Default shape of cursor