Colorscheme.

This commit is contained in:
Bartek Stalewski 2021-11-26 16:23:00 +01:00
parent ecc7e94f84
commit a7fac0b08f
3 changed files with 16 additions and 15 deletions

View File

@ -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^"

View File

@ -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;

View File

@ -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 {