From e99e6731f5d645c1e3d938e24ed2b9923a978322 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Wed, 28 Feb 2024 20:06:28 +0100 Subject: [PATCH] rmb layoutmenu, float toggle keybind --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index a5bc748..2bb5c31 100644 --- a/config.h +++ b/config.h @@ -351,7 +351,7 @@ static const Key keys[] = { { MODKEY | ShiftMask, XK_j, pushstack, {.i = INC(+1)} }, { MODKEY, XK_k, focusstack, {.i = INC(-1)} }, { MODKEY | ShiftMask, XK_k, pushstack, {.i = INC(-1)} }, - // { MODKEY, XK_x, spawn, {.v = (const char *[]){NULL}} }, + { MODKEY, XK_x, togglefloating, {0} }, // { MODKEY | ShiftMask, XK_x, spawn, {.v = (const char *[]){NULL}} }, { MODKEY, XK_b, togglescratch, {.v = spinet} }, // { MODKEY | ShiftMask, XK_b, spawn, {.v = (const char *[]){NULL}} }, @@ -430,7 +430,7 @@ static const Key keys[] = { /* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ static const Button buttons[] = { /* click event mask button function argument */ - { ClkLtSymbol, 0, Button1, layoutmenu, {0} }, + { ClkLtSymbol, 0, Button3, layoutmenu, {0} }, // { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, // { ClkWinTitle, 0, Button2, zoom, {0} }, { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },