diff options
Diffstat (limited to 'patches/dwm-foswret-keybinds-20250821-82d7a79.diff')
| -rw-r--r-- | patches/dwm-foswret-keybinds-20250821-82d7a79.diff | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/patches/dwm-foswret-keybinds-20250821-82d7a79.diff b/patches/dwm-foswret-keybinds-20250821-82d7a79.diff new file mode 100644 index 0000000..975eeb6 --- /dev/null +++ b/patches/dwm-foswret-keybinds-20250821-82d7a79.diff @@ -0,0 +1,41 @@ +From 82d7a799c9203e220bcbbee0451a59ae4b629668 Mon Sep 17 00:00:00 2001 +From: foswret <foswret@posteo.com> +Date: Thu, 21 Aug 2025 18:02:56 -0500 +Subject: [PATCH] Applied personal keybind preferences + +--- + config.def.h | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/config.def.h b/config.def.h +index 81c3fc0..1e4762f 100644 +--- a/config.def.h ++++ b/config.def.h +@@ -60,16 +60,22 @@ 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_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; + static const char *termcmd[] = { "st", NULL }; ++static const char *browsercmd[] = { "librewolf", NULL }; ++static const char *emojicmd[] = { "rofimoji", NULL }; ++static const char *lockcmd[] = { "slock", NULL }; + + static const Key keys[] = { + /* modifier key function argument */ +- { MODKEY, XK_p, spawn, {.v = dmenucmd } }, ++ { MODKEY, XK_d, spawn, {.v = dmenucmd } }, + { MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } }, ++ { MODKEY|ShiftMask, XK_b, spawn, {.v = browsercmd } }, ++ { MODKEY, XK_e, spawn, {.v = emojicmd } }, ++ { MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } }, + { MODKEY, XK_b, togglebar, {0} }, + { MODKEY, XK_j, focusstack, {.i = +1 } }, + { MODKEY, XK_k, focusstack, {.i = -1 } }, + { MODKEY, XK_i, incnmaster, {.i = +1 } }, +- { MODKEY, XK_d, incnmaster, {.i = -1 } }, ++ { MODKEY, XK_p, incnmaster, {.i = -1 } }, + { MODKEY, XK_h, setmfact, {.f = -0.05} }, + { MODKEY, XK_l, setmfact, {.f = +0.05} }, + { MODKEY, XK_Return, zoom, {0} }, +-- +2.50.1 + |
