aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/config.h b/config.h
index f251033..73c4f2a 100644
--- a/config.h
+++ b/config.h
@@ -7,6 +7,7 @@ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "JetBrains Mono:size=12" };
static const char dmenufont[] = "JetBrains Mono:size=12";
+static const char black[] = "#000000";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
@@ -22,8 +23,8 @@ static const unsigned int gappx = 6;
static const char *colors[][3] = {
/* fg bg border */
- [SchemeNorm] = { col_nord4, col_nord0, col_nord0 },
- [SchemeSel] = { col_nord4, col_nord10, col_nord1 },
+ [SchemeNorm] = { col_nord4, col_gray1, col_gray1 },
+ [SchemeSel] = { col_nord4, col_gray2, col_gray1 },
};
/* tagging */
@@ -35,7 +36,7 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
- { "Gimp", NULL, NULL, 0, 1, -1 },
+ { "zoom", NULL, NULL, 0, 1, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
};
@@ -67,6 +68,8 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "alacritty", NULL };
+static const char *brightnessup[] = { "brightness-up", NULL };
+static const char *brightnessdown[] = { "brightness-down", NULL };
static Key keys[] = {
/* modifier key function argument */
@@ -93,6 +96,8 @@ static Key keys[] = {
{ MODKEY, XK_period, focusmon, {.i = +1 } },
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ { MODKEY, XK_F4, spawn, {.v = brightnessup } },
+ { MODKEY, XK_F3, spawn, {.v = brightnessdown } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)