added patches to test

This commit is contained in:
2025-11-24 06:16:55 -05:00
parent 56a140cadf
commit ee31af9995
11 changed files with 494 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=10" };
static const char *fonts[] = { "JetBrainsMono Nerd Font:size=12" };
static const char dmenufont[] = "monospace:size=10";
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
@@ -18,6 +18,12 @@ static const char *colors[][3] = {
[SchemeSel] = { col_gray4, col_cyan, col_cyan },
};
static const char *const autostart[] = {
"st", NULL,
NULL /* terminate */
};
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
@@ -63,7 +69,9 @@ static const char *rofi[] = {"rofi", "-show", "drun", "-show-emojis", NULL};
static const char *browser[] = {"brave"};
static const char *termcmd[] = { "st", NULL };
static const char *alatty[] = {"alacritty", NULL};
static const char *fileman[] = {"thunar", NULL};
#include "selfrestart.c"
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = rofi } },
@@ -71,6 +79,7 @@ static const Key keys[] = {
{ MODKEY|ControlMask, XK_Return, spawn, {.v = alatty } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY|ShiftMask, XK_b, spawn, {.v = browser } },
{ MODKEY|ShiftMask, XK_f, spawn, {.v = fileman } },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
@@ -100,6 +109,7 @@ static const Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|Mod1Mask, XK_r, self_restart, {0} },
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};
@@ -119,4 +129,3 @@ static const Button buttons[] = {
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
};