dotfiles/patches/dwm/add-custom-commands-and-keys.patch

17 lines
875 B
Diff
Raw Normal View History

2025-02-02 22:41:36 +00:00
diff --git a/config.def.h b/config.def.h
2025-02-17 20:08:41 +00:00
index 9efa774..dd6779a 100644
2025-02-02 22:41:36 +00:00
--- a/config.def.h
+++ b/config.def.h
2025-02-17 20:08:41 +00:00
@@ -95,6 +95,11 @@ static const Key keys[] = {
2025-02-02 22:41:36 +00:00
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
2025-02-17 20:08:41 +00:00
+ { MODKEY|ShiftMask, XK_b, spawn, SHCMD("firefox") },
+ { MODKEY|ShiftMask, XK_f, spawn, SHCMD("thunar") },
+ { MODKEY|ShiftMask, XK_s, spawn, SHCMD("flameshot gui") },
+ { MODKEY|ShiftMask, XK_y, spawn, SHCMD("copyq toggle") },
+ { MODKEY, XK_Insert, spawn, SHCMD("xdotool type $(grep -v '^#' ~/snippets.txt | sort | dmenu -i -l 50 | cut -d' ' -f1)") },
2025-02-02 22:41:36 +00:00
};
/* button definitions */