|
|
|
@ -10,17 +10,25 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display |
|
|
|
static const int showsystray = 1; /* 0 means no systray */ |
|
|
|
static const int showbar = 1; /* 0 means no bar */ |
|
|
|
static const int topbar = 1; /* 0 means bottom bar */ |
|
|
|
static const char *fonts[] = { "Hack:size=10" }; |
|
|
|
static const char dmenufont[] = "Hack:size=10"; |
|
|
|
static const char col_gray1[] = "#222222"; |
|
|
|
static const char col_gray2[] = "#444444"; |
|
|
|
static const char col_gray3[] = "#bbbbbb"; |
|
|
|
static const char col_gray4[] = "#eeeeee"; |
|
|
|
static const char col_cyan[] = "#005577"; |
|
|
|
static const char *fonts[] = { |
|
|
|
"Hack:style=Bold:size=10", |
|
|
|
"DejaVuSans:style=Bold:size=12", /* For the symbols */ |
|
|
|
}; |
|
|
|
static const char dmenufont[] = "Hack:style=Bold:size=10"; |
|
|
|
static const char col_dark[] = "#282828"; |
|
|
|
static const char col_gray[] = "#928374"; |
|
|
|
static const char col_gray1[] = "#3c3836"; |
|
|
|
static const char col_gray2[] = "#504945"; |
|
|
|
static const char col_gray3[] = "#7c6f64"; |
|
|
|
static const char col_clear[] = "#ebdbd2"; |
|
|
|
static const char col_orange[] = "#fe8019"; |
|
|
|
static const char col_dark_orange[] = "#d65d0e"; |
|
|
|
static const char col_invalid[] = "#ff00ff"; |
|
|
|
static const char *colors[][3] = { |
|
|
|
/* fg bg border */ |
|
|
|
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, |
|
|
|
[SchemeSel] = { col_gray4, col_cyan, col_cyan }, |
|
|
|
[SchemeNorm] = { col_gray, col_dark, col_dark }, |
|
|
|
[SchemeSel] = { col_gray1, col_orange, col_gray2 }, |
|
|
|
[SchemeSystray] = { col_invalid, col_orange, col_invalid }, |
|
|
|
}; |
|
|
|
|
|
|
|
/* tagging */ |
|
|
|
@ -32,9 +40,11 @@ static const Rule rules[] = { |
|
|
|
* WM_NAME(STRING) = title |
|
|
|
*/ |
|
|
|
/* class instance title tags mask isfloating monitor */ |
|
|
|
{ "Gimp", NULL, NULL, 0, 1, -1 }, |
|
|
|
{ "mpv", NULL, NULL, 0, 1, -1 }, |
|
|
|
{ "Firefox", NULL, NULL, 0, 0, -1 }, |
|
|
|
{ "KeePass2", NULL, NULL, 1<<8, 0, -1 }, |
|
|
|
/* Add the " - " at the start to match only the main window */ |
|
|
|
{ " - KeePassXC",NULL, NULL, 1<<8, 0, -1 }, |
|
|
|
}; |
|
|
|
|
|
|
|
/* layout(s) */ |
|
|
|
@ -62,7 +72,9 @@ 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_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; |
|
|
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, \ |
|
|
|
"-nb", col_dark, "-nf", col_gray, \ |
|
|
|
"-sb", col_orange, "-sf", col_gray1, NULL }; |
|
|
|
static const char *termcmd[] = { "/usr/bin/kitty", "--single-instance", NULL }; |
|
|
|
static const char *backlightinccmd[] = { "light", "-A", "5", NULL }; |
|
|
|
static const char *backlightdeccmd[] = { "light", "-U", "5", NULL }; |
|
|
|
@ -98,7 +110,7 @@ static Key keys[] = { |
|
|
|
{ MODKEY|ShiftMask, XK_less, spawn, {.v = mpdnext } }, |
|
|
|
{ MODKEY, XK_l, spawn, {.v = slock } }, |
|
|
|
{ MODKEY, XK_v, spawn, {.v = clipqr } }, |
|
|
|
{ MODKEY, XK_e, spawn, {.v = splatmoji } }, |
|
|
|
//{ MODKEY, XK_e, spawn, {.v = splatmoji } },
|
|
|
|
{ MODKEY, XK_b, togglebar, {0} }, |
|
|
|
{ MODKEY, XK_Tab, focusstack, {.i = +1 } }, |
|
|
|
{ MODKEY|ShiftMask, XK_Tab, focusstack, {.i = -1 } }, |
|
|
|
@ -114,8 +126,9 @@ static Key keys[] = { |
|
|
|
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} }, |
|
|
|
{ MODKEY, XK_space, setlayout, {0} }, |
|
|
|
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} }, |
|
|
|
{ MODKEY, XK_agrave, view, {.ui = ~0 } }, |
|
|
|
{ MODKEY|ShiftMask, XK_agrave, tag, {.ui = ~0 } }, |
|
|
|
/* Remove "show all tags" binding as it crashes X */ |
|
|
|
// { MODKEY, XK_agrave, view, {.ui = ~0 } },
|
|
|
|
// { MODKEY|ShiftMask, XK_agrave, tag, {.ui = ~0 } },
|
|
|
|
{ MODKEY, XK_comma, focusmon, {.i = -1 } }, |
|
|
|
{ MODKEY, XK_semicolon, focusmon, {.i = +1 } }, |
|
|
|
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, |
|
|
|
|