summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShubham Saini <shubham6405@gmail.com>2020-05-17 17:33:27 +0000
committerShubham Saini <shubham6405@gmail.com>2020-05-17 17:33:27 +0000
commit82a6b54af82f546e99bbaf686ae402f03aed70a9 (patch)
tree34110323c05458d42995b409e78dd9e16a30cb5a
parenta41f6e7247e0966eb7cbf64095a2654cc4dd01de (diff)
added inc/dec gaps
-rw-r--r--dwm/config.h20
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) */
46static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */ 46static const float mfact = 0.50; /* factor of master area size [0.05..0.95] */
47static const int nmaster = 1; /* number of clients in master area */ 47static const int nmaster = 1; /* number of clients in master area */
48static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ 48static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
49 49
50static const Layout layouts[] = { 50static 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()
70static const char *dmenucmd[] = { "menu", NULL }; 70static const char *dmenucmd[] = { "menu", NULL };
71static const char *termcmd[] = { "st", NULL }; 71static const char *termcmd[] = { "st", NULL };
72static const char scratchpadname[] = "scratchpad"; 72static const char scratchpadname[] = "scratchpad";
73static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL }; 73static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "80x24", NULL };
74 74
75/* volume */ 75/* volume */
76static const char *upvol[] = { "pulsemixer", "--change-volume", "+5", NULL }; 76static 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 } },