From eb0271878bfa2739574ae88ec18ef8b7db1d6c42 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Mon, 30 Mar 2020 17:13:55 +0200 Subject: [PATCH] monitor keys added --- README.md | 8 ++++++-- config.def.h | 8 ++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d8faa6b..b90ee23 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,12 @@ Super + Shift + t -> Enable tiling layout Super + Shift + z -> (Tiling) Decrease master window size Super + 0 -> Show all tags Super + Shift + 0 -> Add current window to all tag -Super + + 1/2/.../9 -> Shot tag 1/2/.../9 -Super + Shift + 1/2/.../9 -> Add current window to tag 1/2/.../9 +Super + + 1/2/.../9 -> Show tag 1/2/.../9 +Super + Shift + 1/2/.../9 -> Add current window to tag 1/2/.../9 +Super + + . -> Show monitor lower in stack +Super + Shift + . -> Add to monitor lower in stack +Super + + , -> Show monitor higher in stack +Super + Shift + , -> Add to monitor higher in stack Super + F5 -> enable 2 Screen Monitor Super + F6 -> toggle touchpad Super + F7 -> (dmenu) mounting drives diff --git a/config.def.h b/config.def.h index 6bb2361..99690a1 100644 --- a/config.def.h +++ b/config.def.h @@ -98,6 +98,10 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_z, setmfact, {.f = -0.05} }, { MODKEY, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, + { MODKEY, XK_comma, focusmon, {.i = -1 } }, + { MODKEY, XK_period, focusmon, {.i = +1 } }, + { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, + { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, { MODKEY, XK_F5, spawn, SHCMD("togglemonitor") }, { MODKEY, XK_F6, spawn, SHCMD("toggletouchpad") }, { MODKEY, XK_F7, spawn, SHCMD("dmenumount") }, @@ -115,10 +119,6 @@ static Key keys[] = { //{ MODKEY|ShiftMask, XK_o, incnmaster, {.i = +1 } }, //{ MODKEY|ShiftMask, XK_z, incnmaster, {.i = -1 } }, //{ MODKEY, XK_space, setlayout, {0} }, - //{ MODKEY, XK_comma, focusmon, {.i = -1 } }, - //{ MODKEY, XK_period, focusmon, {.i = +1 } }, - //{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, - //{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2)