diff options
author | Shubham Saini <shubham6405@gmail.com> | 2020-05-17 17:33:27 +0000 |
---|---|---|
committer | Shubham Saini <shubham6405@gmail.com> | 2020-05-17 17:33:27 +0000 |
commit | 82a6b54af82f546e99bbaf686ae402f03aed70a9 (patch) | |
tree | 34110323c05458d42995b409e78dd9e16a30cb5a | |
parent | a41f6e7247e0966eb7cbf64095a2654cc4dd01de (diff) |
added inc/dec gaps
-rw-r--r-- | dwm/config.h | 20 |
1 files changed, 10 insertions, 10 deletions
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[] = { | |||
45 | /* layout(s) */ | 45 | /* layout(s) */ |
46 | static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */ | 46 | static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */ |
47 | static const int nmaster = 1; /* number of clients in master area */ | 47 | static const int nmaster = 1; /* number of clients in master area */ |
48 | static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ | 48 | static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */ |
49 | 49 | ||
50 | static const Layout layouts[] = { | 50 | static const Layout layouts[] = { |
51 | /* symbol arrange function */ | 51 | /* symbol arrange function */ |
@@ -70,7 +70,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() | |||
70 | static const char *dmenucmd[] = { "menu", NULL }; | 70 | static const char *dmenucmd[] = { "menu", NULL }; |
71 | static const char *termcmd[] = { "st", NULL }; | 71 | static const char *termcmd[] = { "st", NULL }; |
72 | static const char scratchpadname[] = "scratchpad"; | 72 | static const char scratchpadname[] = "scratchpad"; |
73 | static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; | 73 | static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "80x24", NULL }; |
74 | 74 | ||
75 | /* volume */ | 75 | /* volume */ |
76 | static const char *upvol[] = { "pulsemixer", "--change-volume", "+5", NULL }; | 76 | static const char *upvol[] = { "pulsemixer", "--change-volume", "+5", NULL }; |
@@ -104,14 +104,14 @@ static Key keys[] = { | |||
104 | { MODKEY, XK_d, incnmaster, {.i = -1 } }, | 104 | { MODKEY, XK_d, incnmaster, {.i = -1 } }, |
105 | { MODKEY, XK_h, setmfact, {.f = -0.05} }, | 105 | { MODKEY, XK_h, setmfact, {.f = -0.05} }, |
106 | { MODKEY, XK_l, setmfact, {.f = +0.05} }, | 106 | { MODKEY, XK_l, setmfact, {.f = +0.05} }, |
107 | { MODKEY|Mod4Mask, XK_h, incrgaps, {.i = +1 } }, | 107 | { MODKEY|Mod1Mask, XK_h, incrgaps, {.i = +1 } }, |
108 | { MODKEY|Mod4Mask, XK_l, incrgaps, {.i = -1 } }, | 108 | { MODKEY|Mod1Mask, XK_l, incrgaps, {.i = -1 } }, |
109 | { MODKEY|Mod4Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } }, | 109 | { MODKEY|Mod1Mask|ShiftMask, XK_h, incrogaps, {.i = +1 } }, |
110 | { MODKEY|Mod4Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } }, | 110 | { MODKEY|Mod1Mask|ShiftMask, XK_l, incrogaps, {.i = -1 } }, |
111 | { MODKEY|Mod4Mask|ControlMask, XK_h, incrigaps, {.i = +1 } }, | 111 | { MODKEY|Mod1Mask|ControlMask, XK_h, incrigaps, {.i = +1 } }, |
112 | { MODKEY|Mod4Mask|ControlMask, XK_l, incrigaps, {.i = -1 } }, | 112 | { MODKEY|Mod1Mask|ControlMask, XK_l, incrigaps, {.i = -1 } }, |
113 | { MODKEY|Mod4Mask, XK_0, togglegaps, {0} }, | 113 | { MODKEY|Mod1Mask, XK_0, togglegaps, {0} }, |
114 | { MODKEY|Mod4Mask|ShiftMask, XK_0, defaultgaps, {0} }, | 114 | { MODKEY|Mod1Mask|ShiftMask, XK_0, defaultgaps, {0} }, |
115 | { MODKEY, XK_y, incrihgaps, {.i = +1 } }, | 115 | { MODKEY, XK_y, incrihgaps, {.i = +1 } }, |
116 | { MODKEY, XK_o, incrihgaps, {.i = -1 } }, | 116 | { MODKEY, XK_o, incrihgaps, {.i = -1 } }, |
117 | { MODKEY|ControlMask, XK_y, incrivgaps, {.i = +1 } }, | 117 | { MODKEY|ControlMask, XK_y, incrivgaps, {.i = +1 } }, |