From c40dc12e8ca9b0b207bd36370108526dcc0cde82 Mon Sep 17 00:00:00 2001 From: TiynGER Date: Sun, 29 Mar 2020 22:05:42 +0200 Subject: [PATCH] enabling 0 tag --- README.md | 4 ++++ config.def.h | 5 ++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 21da4f6..0125a64 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ Super + Shift + r -> (dmenu) dmenu_run Super + s -> (dmenu) startpagesearch 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 + 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 e50c3d4..6bb2361 100644 --- a/config.def.h +++ b/config.def.h @@ -96,6 +96,8 @@ static Key keys[] = { { MODKEY, XK_s, spawn, SHCMD("startpagesearch") }, { MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[0]} }, { MODKEY|ShiftMask, XK_z, setmfact, {.f = -0.05} }, + { MODKEY, XK_0, view, {.ui = ~0 } }, + { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_F5, spawn, SHCMD("togglemonitor") }, { MODKEY, XK_F6, spawn, SHCMD("toggletouchpad") }, { MODKEY, XK_F7, spawn, SHCMD("dmenumount") }, @@ -113,13 +115,10 @@ static Key keys[] = { //{ MODKEY|ShiftMask, XK_o, incnmaster, {.i = +1 } }, //{ MODKEY|ShiftMask, XK_z, incnmaster, {.i = -1 } }, //{ MODKEY, XK_space, setlayout, {0} }, - //{ 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, xrdb, {.v = NULL } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2)