summaryrefslogtreecommitdiff
path: root/config.def.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.def.h
parent801b5dd72b6cc440262475b4346d5bf8bf032a82 (diff)
downloadchaddwm-bf647ff2fdb11352ec0c6ccf04fa7bccfeb20e02.tar.gz
chaddwm-bf647ff2fdb11352ec0c6ccf04fa7bccfeb20e02.tar.bz2
chaddwm-bf647ff2fdb11352ec0c6ccf04fa7bccfeb20e02.zip
added a program launcher
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 9157c0e..836d37d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -36,7 +36,8 @@ static const char *colors[][3] = {
};
/* 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):
@@ -45,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) */
@@ -79,15 +80,15 @@ 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_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 } },