fixed fonts, added newsboat

This commit is contained in:
Charlie Root 2024-04-23 10:59:57 +02:00
commit 11ab11d59e
23 changed files with 2892 additions and 37 deletions

View file

@ -1,21 +1,22 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int borderpx = 4; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int showbar = 0; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=10" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray1[] = "#282828";
static const char col_gray2[] = "#98971a";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
static const char col_gray4[] = "#928374";
static const char col_cyan[] = "#BD93BD";
static const char col_sel[] = "#d79921";
static const char *colors[][3] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
[SchemeNorm] = { col_gray2, col_gray1, col_gray4 },
[SchemeSel] = { col_gray2, col_gray1, col_sel },
};
/* tagging */
@ -57,14 +58,18 @@ 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[] = { "rofi", "-show", "drun", NULL };
static const char *termcmd[] = { "kitty", NULL };
static const char *browsercmd[] = { "tor-browser", NULL };
static const char *filebrowsercmd[] = { "pcmanfm", NULL };
static const char *spkeepassxc[] = { "keepassxc", NULL };
static const Key keys[] = {
/* modifier key function argument */
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_b, spawn, {.v = browsercmd } },
{ MODKEY, XK_e, spawn, {.v = filebrowsercmd } },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
@ -85,6 +90,13 @@ static const Key keys[] = {
{ MODKEY, XK_space, togglefullscr, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_s, scratchpad_show, {.i = 1} },
{ MODKEY, XK_y, scratchpad_show, {.i = 2} },
{ MODKEY, XK_p, scratchpad_show, {.i = 3} },
{ MODKEY|ShiftMask, XK_s, scratchpad_hide, {.i = 1} },
{ MODKEY|ShiftMask, XK_y, scratchpad_hide, {.i = 2} },
{ MODKEY|ShiftMask, XK_p, scratchpad_hide, {.i = 3} },
{ MODKEY|ShiftMask, XK_r, scratchpad_remove, {0} },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)