From 8d1fbda11dc8c33edd4f2294b3c44e462d6ce482 Mon Sep 17 00:00:00 2001 From: ProsperousPotato Date: Fri, 15 Aug 2025 23:46:44 +0100 Subject: change keybinds for toggling mouse --- config.h | 2 +- dwm.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.h b/config.h index b2682b6..d3d026b 100644 --- a/config.h +++ b/config.h @@ -132,7 +132,7 @@ static const Key keys[] = { { MODKEY, XK_p, quicksearch, {.i = 0} }, { MODKEY|ShiftMask, XK_p, quicksearch, {.i = 1} }, - { MODKEY, XK_BackSpace, togglemouse, {0} }, + { MODKEY, XK_b, togglemouse, {0} }, }; /* button definitions */ diff --git a/dwm.c b/dwm.c index bb5d242..7d762b7 100644 --- a/dwm.c +++ b/dwm.c @@ -235,6 +235,7 @@ static int xerrordummy(Display *dpy, XErrorEvent *ee); static int xerrorstart(Display *dpy, XErrorEvent *ee); static void zoom(const Arg *arg); static void togglemouse(const Arg *arg); +static void quicksearch(const Arg *arg); static pid_t getparentprocess(pid_t p); static int isdescprocess(pid_t p, pid_t c); -- cgit v1.2.3