From a7fac0b08f5dfb4ab663a660d745e97dd6ba87d3 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Fri, 26 Nov 2021 16:23:00 +0100 Subject: [PATCH] Colorscheme. --- _suckless/_scripts/sb-mail | 2 +- _suckless/dmenu/config.h | 8 ++++---- _suckless/dwm/config.h | 21 +++++++++++---------- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/_suckless/_scripts/sb-mail b/_suckless/_scripts/sb-mail index f0eb098..33468d3 100755 --- a/_suckless/_scripts/sb-mail +++ b/_suckless/_scripts/sb-mail @@ -13,4 +13,4 @@ for i in $(cat ~/.local/share/passwords); do [ $count -ne 0 ] && export unread=$((unread + count)) fi done -[ "$unread" -eq 0 ] && printf "" || printf "^c#eeeeee^^b#005577^\ue0e1 new mail: ${unread}^d^" +[ "$unread" -eq 0 ] && printf "" || printf "^c#161616^^b#00bdff^\ue0e1 new mail: ${unread}^d^" diff --git a/_suckless/dmenu/config.h b/_suckless/dmenu/config.h index d2c31ef..0b7320c 100644 --- a/_suckless/dmenu/config.h +++ b/_suckless/dmenu/config.h @@ -11,10 +11,10 @@ static const char *fonts[] = { }; static const char *prompt = NULL; /* -p option; prompt to the left of input field */ static const char *colors[SchemeLast][2] = { - /* fg bg */ - [SchemeNorm] = { "#bbbbbb", "#222222" }, - [SchemeSel] = { "#eeeeee", "#005577" }, - [SchemeOut] = { "#000000", "#00ffff" }, + /* fg bg */ + [SchemeNorm] = { "#161616", "#c7c7c7" }, + [SchemeSel] = { "#161616", "#00bdff" }, + [SchemeOut] = { "#000000", "#00ffff" }, }; /* -l option; if nonzero, dmenu uses vertical list with given number of lines */ static unsigned int lines = 0; diff --git a/_suckless/dwm/config.h b/_suckless/dwm/config.h index 56ab6cd..98bba8f 100644 --- a/_suckless/dwm/config.h +++ b/_suckless/dwm/config.h @@ -1,7 +1,7 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const unsigned int borderpx = 2; /* border pixel of windows */ +static const unsigned int borderpx = 5; /* border pixel of windows */ static const int startwithgaps = 1; /* 1 means gaps are used by default */ static const unsigned int gappx = 15; /* default gap between windows in pixels */ static const unsigned int snap = 32; /* snap pixel */ @@ -15,15 +15,16 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "JetBrainsMono Nerd Font Mono:style=Medium:size=10", "Material Icons:size=12" }; static const char normfgcolor[] = "#bbbbbb"; -static const char col_gray1[] = "#222222"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; -static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; -static const char *colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, +static const char col_fg[] = "#161616"; +static const char col_bg[] = "#c7c7c7"; +static const char col_bd[] = "#161616"; +static const char col_fg_sel[] = "#161616"; +static const char col_bg_sel[] = "#00bdff"; +static const char col_bd_sel[] = "#ffffff"; +static const char *colors[][3] = { + /* fg bg border */ + [SchemeNorm] = { col_fg, col_bg, col_bd }, + [SchemeSel] = { col_fg_sel, col_bg_sel, col_bd_sel }, }; typedef struct {