summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2025-10-10 09:29:02 +0200
committerfilip <“filip.rabiega@gmail.com”>2025-10-10 09:29:02 +0200
commitbf647ff2fdb11352ec0c6ccf04fa7bccfeb20e02 (patch)
treebd2fd8a2bc71bfb6e563ae18f7b3aa9d98066ab3 /config.h
parent801b5dd72b6cc440262475b4346d5bf8bf032a82 (diff)
downloadchaddwm-bf647ff2fdb11352ec0c6ccf04fa7bccfeb20e02.tar.gz
chaddwm-bf647ff2fdb11352ec0c6ccf04fa7bccfeb20e02.tar.bz2
chaddwm-bf647ff2fdb11352ec0c6ccf04fa7bccfeb20e02.zip
added a program launcher
Diffstat (limited to 'config.h')
-rw-r--r--config.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/config.h b/config.h
index 12763b9..836d37d 100644
--- a/config.h
+++ b/config.h
@@ -20,16 +20,24 @@ 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_black[] = "#101010";
+static const char col_white[] = "#ffffff";
static const char col_green[] = "#003300";
-static const char col_cyan[] = "#005577";
+static const char col_olive[] = "#0B1500";
static const char *colors[][3] = {
/* fg bg border */
- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
[SchemeSel] = { col_gray4, col_green, col_green },
+ [SchemeStatus] = { col_white, col_olive, "#000000" }, // Statusbar right {text,background,not used but cannot be empty}
+ [SchemeTagsSel] = { col_white, col_green, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty}
+ [SchemeTagsNorm] = { col_white, col_olive, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty}
+ [SchemeInfoSel] = { col_white, col_green, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty}
+ [SchemeInfoNorm] = { col_white, col_green, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty}
};
/* tagging */
-static const char *tags[] = { "1", "2", "3"};
+static const char *tags[] = { "1", "2", "3" };
+static const char *defaulttagapps[] = { "librewolf", "tabbed -c -r 2 st -w '' -e /usr/bin/zsh", "zathura" };
static const Rule rules[] = {
/* xprop(1):
@@ -38,7 +46,7 @@ static const Rule rules[] = {
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
- { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
+ { "Librewolf", NULL, NULL, 1 << 8, 0, -1 },
};
/* layout(s) */
@@ -70,17 +78,17 @@ 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_black, "-nf", col_white, "-sb", col_green, "-sf", col_white, NULL };
static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", "-e", "/usr/bin/zsh", NULL };
-static const char *browsercmd[] = { "librewolf" };
static const char *mansplaincmd[] = { "mansplain" };
+static const char *launchcmd[] = { "launch" };
// static const char *termcmd[] = { "st", NULL };
static const Key keys[] = {
/* modifier key function argument */
- { MODKEY, XK_p, spawn, {.v = dmenucmd } },
- { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
- { MODKEY, XK_u, spawn, {.v = browsercmd } },
+ { MODKEY, XK_p, spawn, {.v = launchcmd } },
+ { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_u, spawndefault, {0} },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },