From 82a6b54af82f546e99bbaf686ae402f03aed70a9 Mon Sep 17 00:00:00 2001 From: Shubham Saini Date: Sun, 17 May 2020 23:03:27 +0530 Subject: added inc/dec gaps --- dwm/config.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'dwm/config.h') diff --git a/dwm/config.h b/dwm/config.h index 495e8fe..359e5e0 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -45,7 +45,7 @@ static const Rule rules[] = { /* layout(s) */ static const float mfact = 0.50; /* 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 resizehints = 0; /* 1 means respect size hints in tiled resizals */ static const Layout layouts[] = { /* symbol arrange function */ @@ -70,7 +70,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() static const char *dmenucmd[] = { "menu", NULL }; static const char *termcmd[] = { "st", NULL }; static const char scratchpadname[] = "scratchpad"; -static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; +static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "80x24", NULL }; /* volume */ static const char *upvol[] = { "pulsemixer", "--change-volume", "+5", NULL }; @@ -104,14 +104,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|Mod4Mask, XK_h, incrgaps, {.i = +1 } }, - { MODKEY|Mod4Mask, XK_l, incrgaps, {.i = -1 } }, - { MODKEY|Mod4Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } }, - { MODKEY|Mod4Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } }, - { MODKEY|Mod4Mask|ControlMask, XK_h, incrigaps, {.i = +1 } }, - { MODKEY|Mod4Mask|ControlMask, XK_l, incrigaps, {.i = -1 } }, - { MODKEY|Mod4Mask, XK_0, togglegaps, {0} }, - { MODKEY|Mod4Mask|ShiftMask, XK_0, defaultgaps, {0} }, + { MODKEY|Mod1Mask, XK_h, incrgaps, {.i = +1 } }, + { MODKEY|Mod1Mask, XK_l, incrgaps, {.i = -1 } }, + { MODKEY|Mod1Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } }, + { MODKEY|Mod1Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } }, + { MODKEY|Mod1Mask|ControlMask, XK_h, incrigaps, {.i = +1 } }, + { MODKEY|Mod1Mask|ControlMask, XK_l, incrigaps, {.i = -1 } }, + { MODKEY|Mod1Mask, XK_0, togglegaps, {0} }, + { MODKEY|Mod1Mask|ShiftMask, XK_0, defaultgaps, {0} }, { MODKEY, XK_y, incrihgaps, {.i = +1 } }, { MODKEY, XK_o, incrihgaps, {.i = -1 } }, { MODKEY|ControlMask, XK_y, incrivgaps, {.i = +1 } }, -- cgit v1.2.3