From d9d1180f74021b1fc782c347b60d16ca32bc383a Mon Sep 17 00:00:00 2001 From: DustVoice Date: Thu, 10 Sep 2020 21:47:14 +0200 Subject: [PATCH] Do some cleanup and change the default colors to match the one in the .Xresources file --- config.def.h | 22 +++++++++++----------- st.h | 1 + 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/config.def.h b/config.def.h index 484f948..d5a9048 100644 --- a/config.def.h +++ b/config.def.h @@ -104,17 +104,17 @@ static const char *colorname[] = { [4] = "#bd93f9", /* blue */ [5] = "#ff79c6", /* magenta */ [6] = "#8be9fd", /* cyan */ - [7] = "#bbbbbb", /* white */ + [7] = "#bfbfbf", /* white */ /* 8 bright colors */ - [8] = "#44475a", /* black */ - [9] = "#ff5555", /* red */ - [10] = "#50fa7b", /* green */ - [11] = "#f1fa8c", /* yellow */ - [12] = "#bd93f9", /* blue */ - [13] = "#ff79c6", /* magenta */ - [14] = "#8be9fd", /* cyan */ - [15] = "#ffffff", /* white */ + [8] = "#4d4d4d", /* black */ + [9] = "#ff6e67", /* red */ + [10] = "#5af78e", /* green */ + [11] = "#f4f99d", /* yellow */ + [12] = "#caa9fa", /* blue */ + [13] = "#ff92d0", /* magenta */ + [14] = "#9aedfe", /* cyan */ + [15] = "#e6e6e6", /* white */ /* special colors */ [256] = "#282a36", /* background */ @@ -206,8 +206,8 @@ ResourcePref resources[] = { { "color15", STRING, &colorname[15] }, { "background", STRING, &colorname[256] }, { "foreground", STRING, &colorname[257] }, - { "cursor", STRING, &colorname[258] }, - { "text", STRING, &colorname[259] }, + { "cursor", STRING, &colorname[258] }, + { "text", STRING, &colorname[259] }, { "termName", STRING, &termname }, { "shell", STRING, &shell }, { "tabspaces", INTEGER, &tabspaces }, diff --git a/st.h b/st.h index 609efa2..90b9f20 100644 --- a/st.h +++ b/st.h @@ -126,3 +126,4 @@ extern unsigned int tabspaces; extern unsigned int defaultfg; extern unsigned int defaultbg; extern unsigned int defaultcs; +extern unsigned int defaultrcs;