Adjust color scheme
This commit is contained in:
@@ -2,18 +2,18 @@
|
||||
/* Default settings; can be overriden by command line. */
|
||||
|
||||
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
|
||||
static int centered = 1; /* -c option; centers dmenu on screen */
|
||||
static int centered = 0; /* -c option; centers dmenu on screen */
|
||||
static int min_width = 500; /* minimum width when centered */
|
||||
/* -fn option overrides fonts[0]; default X11 font or font set */
|
||||
static const char *fonts[] = {
|
||||
"Iosevka:size=12"
|
||||
"Iosevka:size=14"
|
||||
};
|
||||
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" },
|
||||
[SchemeNorm] = { "#555555", "#111111" },
|
||||
[SchemeSel] = { "#eeeeee", "#111111" },
|
||||
[SchemeOut] = { "#eeeeee", "#eeeeee" },
|
||||
};
|
||||
/* -l option; if nonzero, dmenu uses vertical list with given number of lines */
|
||||
static unsigned int lines = 10;
|
||||
|
||||
@@ -7,15 +7,16 @@ static const unsigned int snap = 32; /* snap pixel */
|
||||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const char *fonts[] = { "Iosevka:size=12" };
|
||||
static const char dmenufont[] = "Iosevka:size=12";
|
||||
static const char col_gray1[] = "#0c0c0c";
|
||||
static const char col_gray2[] = "#1c1c1c";
|
||||
static const char dmenufont[] = "Iosevka:size=14";
|
||||
static const char col_gray0[] = "#000000";
|
||||
static const char col_gray1[] = "#111111";
|
||||
static const char col_gray2[] = "#333333";
|
||||
static const char col_gray3[] = "#555555";
|
||||
static const char col_gray4[] = "#eeeeee";
|
||||
static const char col_gray4[] = "#cccccc";
|
||||
static const char *colors[][3] = {
|
||||
/* fg bg border */
|
||||
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
|
||||
[SchemeSel] = { col_gray4, col_gray2, col_gray3 },
|
||||
[SchemeNorm] = { col_gray3, col_gray0, col_gray1 },
|
||||
[SchemeSel] = { col_gray4, col_gray0, col_gray2 },
|
||||
};
|
||||
|
||||
/* tagging */
|
||||
@@ -58,7 +59,7 @@ static const Layout layouts[] = {
|
||||
|
||||
/* commands */
|
||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray2, "-nf", col_gray3, "-sb", col_gray3, "-sf", col_gray2, NULL };
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_gray1, "-sf", col_gray4, NULL };
|
||||
static const char *termcmd[] = { "st", NULL };
|
||||
|
||||
static Key keys[] = {
|
||||
|
||||
@@ -83,7 +83,7 @@ unsigned int tabspaces = 8;
|
||||
/* Terminal colors (16 first used in escape sequence) */
|
||||
static const char *colorname[] = {
|
||||
|
||||
"#1c1c1c", /*black*/
|
||||
"#111111", /*black*/
|
||||
"#ac4142", /*r*/
|
||||
"#90a959", /*g*/
|
||||
"#f4bf75", /*y*/
|
||||
@@ -92,7 +92,7 @@ static const char *colorname[] = {
|
||||
"#75b5aa", /*c*/
|
||||
"#ccc", /*white*/
|
||||
|
||||
"#1c1c1c", /*black*/
|
||||
"#111111", /*black*/
|
||||
"#ac4142", /*r*/
|
||||
"#90a959", /*g*/
|
||||
"#f4bf75", /*y*/
|
||||
@@ -102,7 +102,7 @@ static const char *colorname[] = {
|
||||
"#ccc", /*white*/
|
||||
|
||||
[255] = 0,
|
||||
[256] = "#1c1c1c", /* background */
|
||||
[256] = "#111111", /* background */
|
||||
[257] = "#d0d0d0", /* foreground */
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user