aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorgonzo <gonzo@toniatuh.com>2023-10-29 18:37:37 +0100
committergonzo <gonzo@toniatuh.com>2023-10-29 18:37:37 +0100
commit091f62154805381e35cf51501e2b86b04eb6d0e3 (patch)
tree56d58037a2fb5284d5f6b336d9e513bf1050b5a5 /config.h
parentfa25b7b7c9f3af4708743410268454069562cd34 (diff)
downloaddwm-091f62154805381e35cf51501e2b86b04eb6d0e3.tar.gz
added push up and push down, xmonad style
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 970bbaf..e3146c8 100644
--- a/config.h
+++ b/config.h
@@ -2,6 +2,7 @@
/* constants */
#define TERMINAL "xterm"
+//#define TERMINAL "st"
/* appearance */
static const unsigned int borderpx = 2; /* border pixel of windows */
@@ -91,7 +92,9 @@ static const Key keys[] = {
{ MODKEY, XK_c, togglescratch, {.ui = 1 } }, // spcalc
{ MODKEY, XK_s, togglesticky, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_j, pushdown, {0} },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
+ { MODKEY|ShiftMask, XK_k, pushup, {0} },
{ MODKEY, XK_i, incnmaster, {.i = +1 } },
{ MODKEY|ShiftMask, XK_i, incnmaster, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },