From 821887424d3a80042d159f380014000f0cc41320 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Mon, 10 Apr 2023 23:28:44 +0200 Subject: add colors and first try to implement resize handling --- config.h | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 321f89b..fddb13b 100644 --- a/config.h +++ b/config.h @@ -21,7 +21,7 @@ static FontPath fonts[] = { "/usr/share/fonts/gnu-free/FreeMonoBoldOblique.otf" /* Bold-Italic */ }, }; -static int fontsize = 12; +static int fontsize = 14; static int borderpx = 2; /* @@ -110,34 +110,34 @@ char *termname = "st-256color"; unsigned int tabspaces = 8; /* Terminal colors (16 first used in escape sequence) */ -static const char *colorname[] = { +static uint32_t colors[] = { /* 8 normal colors */ - "black", - "red3", - "green3", - "yellow3", - "blue2", - "magenta3", - "cyan3", - "gray90", + 0x282828, + 0xcc241d, + 0x98971a, + 0xd79921, + 0x458588, + 0xb16286, + 0x689d6a, + 0xa89984, /* 8 bright colors */ - "gray50", - "red", - "green", - "yellow", - "#5c5cff", - "magenta", - "cyan", - "white", + 0x928374, + 0xfb4934, + 0xb8bb26, + 0xfabd2f, + 0x83a598, + 0xd3869b, + 0x8ec07c, + 0xebdbb2, [255] = 0, /* more colors can be added after 255 to use with DefaultXX */ - "#cccccc", - "#555555", - "gray90", /* default foreground colour */ - "black", /* default background colour */ + 0xcccccc, + 0x555555, + 0xebdbb2, /* default foreground color */ + 0x282828, /* default background colour */ }; -- cgit v1.2.3-70-g09d2