(config.h)~changed a few things

~ green colours main theme
+ binding for increasing gap size
This commit is contained in:
2022-09-18 13:02:59 +01:00
parent f778ddebec
commit 7dcfe6a8a5

View File

@@ -7,33 +7,34 @@
#define STATUSBAR "dwmblocks" #define STATUSBAR "dwmblocks"
/* appearance */ /* appearance */
static const unsigned int borderpx = 0; /* border pixel of windows */ static const unsigned int borderpx = 0; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */ static const unsigned int snap = 32; /* snap pixel */
static const unsigned int gappx = 0; /* default gaps between windows */ static const unsigned int gappx = 0; /* default gaps between windows */
static const unsigned int opengap = 10; /* optional gaps between windows */ static const unsigned int opengap = 20; /* optional gaps between windows */
static unsigned int togglegap = true; static unsigned int togglegap = true;
static const int showbar = true; /* 0 means no bar */ static const int showbar = true; /* 0 means no bar */
static const int topbar = 0; /* 0 means bottom bar */ static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "Liberation Mono:size=12" }; static const char *fonts[] = { "Liberation Mono:size=12" };
static const char dmenufont[] = "monospace:size=9"; static const char dmenufont[] = "monospace:size=9";
static const char col_black[] = "#161616"; static const char col_black[] = "#161616";
static const char col_gray1[] = "#222222"; static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444"; static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb"; static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee"; static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577"; static const char col_cyan[] = "#005577";
static const char col_blue[] = "#0217FC"; static const char col_lblue[] = "#0217FC";
static const char col_blue2[] = "#6e95ff"; static const char col_dblue[] = "#6e95ff";
static const char col_red[] = "#910d01"; static const char col_lgreen[] = "#55f055";
static const char *colors[][3] = { static const char col_dgreen[] = "#008000";
/* Scheme fg bg border */ static const char *colors[][3] = {
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, /* Scheme fg bg border */
[SchemeSel] = { col_gray4, col_cyan, col_blue }, [SchemeNorm] = { col_gray3, col_gray1, col_black },
[SchemeStatus] = { col_blue2, "#222222", "#000000" }, // Statusbar right {text,background,not used but cannot be empty} [SchemeSel] = { col_gray4, col_cyan, "#230142" },
[SchemeTagsSel] = { col_blue2, col_black, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty} [SchemeStatus] = { col_lgreen, col_black, "#000000" },
[SchemeTagsNorm] = { col_gray3, col_gray1, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty} [SchemeTagsSel] = { col_black, col_dgreen, "#000000" },
[SchemeInfoSel] = { col_gray4, col_black, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty} [SchemeTagsNorm] = { col_lgreen, col_black, "#000000" },
[SchemeInfoNorm] = { col_gray3, col_gray1, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty} [SchemeInfoSel] = { col_gray4, col_black, "#000000" },
[SchemeInfoNorm] = { col_gray3, col_gray1, "#000000" },
}; };
/* tagging */ /* tagging */
@@ -102,6 +103,7 @@ static Key keys[] = {
{ MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } }, { MODKEY, XK_grave, togglescratch, {.v = scratchpadcmd } },
{ MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_period, setgaps, {.i = +1} },
{ MODKEY, XK_comma, setgaps, {.i = -1} }, { MODKEY, XK_comma, setgaps, {.i = -1} },
{ MODKEY, XK_slash, togglegaps, {0} }, { MODKEY, XK_slash, togglegaps, {0} },
{ MODKEY|ShiftMask, XK_slash, printgaps, {0} }, { MODKEY|ShiftMask, XK_slash, printgaps, {0} },