From 95314cf373c8a76abe9299e6f6c88a7327a48a4f Mon Sep 17 00:00:00 2001 From: Aaron Lindsay Date: Thu, 11 Dec 2025 09:30:57 -0500 Subject: [PATCH] config.h: Update for upstream 6.6 --- config.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.h b/config.h index 149ba75..743108d 100644 --- a/config.h +++ b/config.h @@ -39,10 +39,11 @@ static const Rule rules[] = { }; /* layout(s) */ -static const float mfact = 0.5; /* factor of master area size [0.05..0.95] */ +static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static const int nmaster = 1; /* number of clients in master area */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen window */ +static const int refreshrate = 120; /* refresh rate (per second) for client move/resize */ static const Layout layouts[] = { /* symbol arrange function */ @@ -67,7 +68,7 @@ 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 Key keys[] = { +static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_p, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, @@ -107,8 +108,8 @@ static Key keys[] = { }; /* button definitions */ -/* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ -static Button buttons[] = { +/* click can be ClkTagBar, ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */ +static const Button buttons[] = { /* click event mask button function argument */ { ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },