From c131482c7edb29a068ec4c30b2055b04b5f82164 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sun, 14 Feb 2021 08:38:39 -0500 Subject: [PATCH] ignore resize hints to size windows consistently --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 6a93d78..4e6d476 100644 --- a/config.h +++ b/config.h @@ -59,7 +59,7 @@ static const Rule rules[] = { /* layout(s) */ static float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static int nmaster = 1; /* number of clients in master area */ -static int resizehints = 1; /* 1 means respect size hints in tiled resizals */ +static int resizehints = 0; /* 1 means respect size hints in tiled resizals */ #define FORCE_VSPLIT 1 /* nrowgrid layout: force two clients to always split vertically */ #include "vanitygaps.c" static const Layout layouts[] = { @@ -231,7 +231,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_Page_Up, shifttag, { .i = -1 } }, { MODKEY, XK_Page_Down, shiftview, { .i = +1 } }, { MODKEY|ShiftMask, XK_Page_Down, shifttag, { .i = +1 } }, - { MODKEY, XK_Insert, spawn, SHCMD("xdotool type $(cat ~/.local/share/larbs/snippets | dmenu -i -l 50 | cut -d' ' -f1)") }, + { MODKEY, XK_Insert, spawn, SHCMD("xdotool type $(grep -v '^#' ~/.local/share/larbs/snippets | dmenu -i -l 50 | cut -d' ' -f1)") }, { MODKEY, XK_F1, spawn, SHCMD("groff -mom /usr/local/share/dwm/larbs.mom -Tpdf | zathura -") }, { MODKEY, XK_F2, spawn, SHCMD("tutorialvids") },