summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2021-01-30 10:43:28 -0500
committerJon Santmyer <jon@jonsantmyer.com>2021-01-30 10:43:28 -0500
commitb3307e4769ddd19aa7a2793f0b0c4631c0c0c05e (patch)
tree86ad0c149a0cabb6cab44287870cfe94e57547d3
parenta1692281245bd150397f22be1346b77ebb501832 (diff)
downloaddwm-b3307e4769ddd19aa7a2793f0b0c4631c0c0c05e.tar.gz
dwm-b3307e4769ddd19aa7a2793f0b0c4631c0c0c05e.tar.bz2
dwm-b3307e4769ddd19aa7a2793f0b0c4631c0c0c05e.zip
add keybinds for librewolf
-rw-r--r--config.def.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h
index a15c4bf..8a8fad9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -55,6 +55,7 @@ static const Rule rules[] = {
/* class instance title tags mask isfloating isterminal noswallow monitor */
{ "Gimp", NULL, NULL, 0, 1, 0, 0, -1 },
{ "Firefox", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
+ { "Librewolf", NULL, NULL, 1 << 8, 0, 0, -1, -1 },
{ "St", NULL, NULL, 0, 0, 1, 0, -1 },
{ "Alacritty",NULL, NULL, 0, 0, 1, 0, -1 },
{ NULL, NULL, "Event Tester", 0, 0, 0, 1, -1 }, /* xev */
@@ -102,13 +103,15 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "rofi", "-show", "drun", "-icon-theme" ,"'Papirus'", "-show-icons", NULL };
static const char *termcmd[] = { "alacritty", NULL };
+static const char *browsercmd[] = { "librewolf", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_w, spawn, {.v = browsercmd } },
+
{ MODKEY, XK_b, togglebar, {0} },
- { MODKEY, XK_w, tabmode, {-1} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },