Colorscheme.
This commit is contained in:
parent
ecc7e94f84
commit
a7fac0b08f
3 changed files with 16 additions and 15 deletions
|
@ -13,4 +13,4 @@ for i in $(cat ~/.local/share/passwords); do
|
||||||
[ $count -ne 0 ] && export unread=$((unread + count))
|
[ $count -ne 0 ] && export unread=$((unread + count))
|
||||||
fi
|
fi
|
||||||
done
|
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^"
|
||||||
|
|
|
@ -12,8 +12,8 @@ static const char *fonts[] = {
|
||||||
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
|
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
|
||||||
static const char *colors[SchemeLast][2] = {
|
static const char *colors[SchemeLast][2] = {
|
||||||
/* fg bg */
|
/* fg bg */
|
||||||
[SchemeNorm] = { "#bbbbbb", "#222222" },
|
[SchemeNorm] = { "#161616", "#c7c7c7" },
|
||||||
[SchemeSel] = { "#eeeeee", "#005577" },
|
[SchemeSel] = { "#161616", "#00bdff" },
|
||||||
[SchemeOut] = { "#000000", "#00ffff" },
|
[SchemeOut] = { "#000000", "#00ffff" },
|
||||||
};
|
};
|
||||||
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* See LICENSE file for copyright and license details. */
|
/* See LICENSE file for copyright and license details. */
|
||||||
|
|
||||||
/* appearance */
|
/* 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 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 gappx = 15; /* default gap between windows in pixels */
|
||||||
static const unsigned int snap = 32; /* snap pixel */
|
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 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 *fonts[] = { "JetBrainsMono Nerd Font Mono:style=Medium:size=10", "Material Icons:size=12" };
|
||||||
static const char normfgcolor[] = "#bbbbbb";
|
static const char normfgcolor[] = "#bbbbbb";
|
||||||
static const char col_gray1[] = "#222222";
|
static const char col_fg[] = "#161616";
|
||||||
static const char col_gray2[] = "#444444";
|
static const char col_bg[] = "#c7c7c7";
|
||||||
static const char col_gray3[] = "#bbbbbb";
|
static const char col_bd[] = "#161616";
|
||||||
static const char col_gray4[] = "#eeeeee";
|
static const char col_fg_sel[] = "#161616";
|
||||||
static const char col_cyan[] = "#005577";
|
static const char col_bg_sel[] = "#00bdff";
|
||||||
|
static const char col_bd_sel[] = "#ffffff";
|
||||||
static const char *colors[][3] = {
|
static const char *colors[][3] = {
|
||||||
/* fg bg border */
|
/* fg bg border */
|
||||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
[SchemeNorm] = { col_fg, col_bg, col_bd },
|
||||||
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
|
[SchemeSel] = { col_fg_sel, col_bg_sel, col_bd_sel },
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue