summaryrefslogtreecommitdiff
path: root/files/config/suckless/dwm/config.h
diff options
context:
space:
mode:
authorshipwreckt <me@shipwreckt.co.uk>2025-05-11 21:06:04 +0100
committershipwreckt <me@shipwreckt.co.uk>2025-05-11 21:06:04 +0100
commit95f2b4fc84a99b477df34fc827fa1936ab84f401 (patch)
tree89e1bb0433ef6452e8e91be231641adef6bf7a7d /files/config/suckless/dwm/config.h
parent5e14bac7b5d5e6a6af942711d885e7c8779ecd22 (diff)
Added bookmark feature to DWM, saw it in a Lukesmith video. I have also fixed issue with yay.sh. I still need to fix music, but we will see.
Diffstat (limited to 'files/config/suckless/dwm/config.h')
-rw-r--r--files/config/suckless/dwm/config.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/config/suckless/dwm/config.h b/files/config/suckless/dwm/config.h
index 41229fd..e040b41 100644
--- a/files/config/suckless/dwm/config.h
+++ b/files/config/suckless/dwm/config.h
@@ -68,21 +68,21 @@ static const char *ncmpcppcmd[] = { "st", "-e", "ncmpcpp", NULL };
static const Key keys[] = {
/* modifier key function argument */
+ { MODKEY, XK_Insert, spawn, SHCMD("xdotool type $(grep -v '^#' ~/.local/share/larbs/snippets | dmenu -i -l 50 | cut -d' ' -f1)") },
{ MODKEY, XK_F3, spawn, {.v = audioup } },
{ MODKEY, XK_F2, spawn, {.v = audiodown } },
{ MODKEY, XK_p, spawn, {.v = audiocmd } },
{ MODKEY, XK_m, spawn, {.v = ncmpcppcmd } },
-
{ 0, XK_Print, spawn, {.v = printcmd } },
{ MODKEY|ShiftMask, XK_k, spawn, {.v = passwdcmd } },
{ MODKEY, XK_r, spawn, {.v = dmenucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_f, spawn, {.v = browsercmd } },
{ MODKEY, XK_p, spawn, {.v = audiocmd } },
+
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
- { MODKEY|ShiftMask, XK_i, incnmaster, {.i = +1 } },
{ MODKEY|ShiftMask, XK_d, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },