diff options
author | Squibid <me@zacharyscheiman.com> | 2025-02-11 15:41:46 -0600 |
---|---|---|
committer | Squibid <me@zacharyscheiman.com> | 2025-02-11 15:41:46 -0600 |
commit | 082aa1edac6826731c5c0159f29037a3efd91afa (patch) | |
tree | d7d54951de40fcbc7e4dda101f4554d17ead8fe1 /config.def.h | |
parent | 398ec943214031a25e28ffddd1c0493e92373786 (diff) | |
download | dwl-082aa1edac6826731c5c0159f29037a3efd91afa.tar.gz dwl-082aa1edac6826731c5c0159f29037a3efd91afa.tar.bz2 dwl-082aa1edac6826731c5c0159f29037a3efd91afa.zip |
add uselessgaps patch
Diffstat (limited to 'config.def.h')
-rw-r--r-- | config.def.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 1593033..f56367f 100644 --- a/config.def.h +++ b/config.def.h @@ -6,7 +6,9 @@ /* appearance */ static const int sloppyfocus = 1; /* focus follows mouse */ static const int bypass_surface_visibility = 0; /* 1 means idle inhibitors will disable idle tracking even if it's surface isn't visible */ +static const int smartgaps = 0; /* 1 means no outer gap when there is only one window */ static const unsigned int borderpx = 1; /* border pixel of windows */ +static const unsigned int gappx = 10; /* horiz inner gap between windows */ static const float rootcolor[] = COLOR(0x222222ff); static const float bordercolor[] = COLOR(0x444444ff); static const float focuscolor[] = COLOR(0x005577ff); @@ -136,6 +138,7 @@ static const Key keys[] = { { MODKEY, XKB_KEY_l, setmfact, {.f = +0.05f} }, { MODKEY, XKB_KEY_Return, zoom, {0} }, { MODKEY, XKB_KEY_Tab, view, {0} }, + { MODKEY, XKB_KEY_g, togglegaps, {0} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_C, killclient, {0} }, { MODKEY, XKB_KEY_t, setlayout, {.v = &layouts[0]} }, { MODKEY, XKB_KEY_f, setlayout, {.v = &layouts[1]} }, |