From 2c3fbedc27ecc193cf72effdab2fc5a1c52d9e4c Mon Sep 17 00:00:00 2001 From: yuzu-eva Date: Sat, 27 Aug 2022 22:24:32 +0200 Subject: added vanitygaps patch --- config.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) mode change 100644 => 100755 config.h (limited to 'config.h') diff --git a/config.h b/config.h old mode 100644 new mode 100755 index 38b16fd..9283c62 --- a/config.h +++ b/config.h @@ -3,6 +3,11 @@ /* appearance */ static const unsigned int borderpx = 2; /* border pixel of windows */ static const unsigned int snap = 32; /* snap pixel */ +static const unsigned int gappih = 10; /* horiz inner gap between windows */ +static const unsigned int gappiv = 10; /* vert inner gap between windows */ +static const unsigned int gappoh = 10; /* horiz outer gap between windows and screen edge */ +static const unsigned int gappov = 10; /* vert outer gap between windows and screen edge */ +static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static const int swallowfloating = 0; /* 1 means swallow floating windows by default */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -82,6 +87,14 @@ static Key keys[] = { { MODKEY, XK_d, incnmaster, {.i = -1 } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, + { MODKEY, XK_minus, incrgaps, {.i = +1 } }, + { MODKEY, XK_equal, incrgaps, {.i = -1 } }, + { MODKEY|ShiftMask, XK_minus, incrogaps, {.i = +1 } }, + { MODKEY|ShiftMask, XK_equal, incrogaps, {.i = -1 } }, + { MODKEY|ControlMask, XK_minus, incrigaps, {.i = +1 } }, + { MODKEY|ControlMask, XK_equal, incrigaps, {.i = -1 } }, + { MODKEY, XK_0, togglegaps, {0} }, + { MODKEY|ShiftMask, XK_0, defaultgaps, {0} }, { MODKEY, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY|ShiftMask, XK_c, killclient, {0} }, @@ -91,13 +104,13 @@ static Key keys[] = { { MODKEY, XK_r, setlayout, {.v = &layouts[3]} }, { MODKEY|ShiftMask, XK_r, setlayout, {.v = &layouts[4]} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { MODKEY, XK_0, view, {.ui = ~0 } }, - { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, + /* { MODKEY, XK_0, view, {.ui = ~0 } }, */ + /* { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, */ { MODKEY, XK_comma, focusmon, {.i = -1 } }, { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, - { MODKEY, XK_b, spawn, SHCMD("/home/cafebabe/Software/firefox/firefox") }, + { MODKEY, XK_b, spawn, SHCMD("firefox") }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) -- cgit v1.2.3