Add a border, change up some colours

This commit is contained in:
2025-11-16 22:32:34 +00:00
parent 7d4682c5ed
commit acd431e3ef

View File

@@ -6,7 +6,7 @@
#define STATUSBAR "dwmblocks"
/* appearance */
static const unsigned int borderpx = 0; /* border pixel of windows */
static const unsigned int borderpx = 4; /* border pixel of windows */
static const unsigned int snap = 16; /* snap pixel */
static const int default_gaps = 50; /* default value of gaps_previous */
static const int showbar = true; /* 0 means no bar */
@@ -14,6 +14,7 @@ static const int topbar = 0; /* 0 means bottom bar */
static const char *fonts[] = { "Noto Sans Mono:size=12" };
static const char dmenufont[] = "monospace:size=9";
static const char col_black[] = "#000000";
static const char col_white[] = "#FFFFFF";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
@@ -26,12 +27,12 @@ static const char col_dgreen[] = "#008000";
static const char *colors[][3] = {
/* Scheme fg bg border */
[SchemeNorm] = { col_gray3, col_black, col_black },
[SchemeSel] = { col_gray4, col_cyan, "#230142" },
[SchemeStatus] = { col_lblue, col_black, col_black },
[SchemeTagsSel] = { col_gray4, col_dblue, col_black },
[SchemeTagsNorm] = { col_lblue, col_black, col_black },
[SchemeInfoSel] = { col_gray4, col_black, col_black },
[SchemeInfoNorm] = { col_gray3, col_black, col_black },
[SchemeSel] = { col_white, col_black, "#000077" },
[SchemeStatus] = { col_white, col_black, col_black },
[SchemeTagsSel] = { col_white, col_gray2, col_black },
[SchemeTagsNorm] = { col_white, col_black, col_black },
[SchemeInfoSel] = { col_white, col_black, col_black },
[SchemeInfoNorm] = { col_white, col_black, col_black },
};
/* tagging */
@@ -95,7 +96,7 @@ static const char scratchpadname[] = "scratchpad";
static const char *scratchpadcmd[] = {
"st",
"-t", scratchpadname,
"-g", "100x40",
"-g", "170x40",
"-e", "tmux",
NULL
};