From ca4b595e49ffd091f61e23cee69cbaa7bd9519a3 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 14 Jul 2012 23:21:34 +0200 Subject: [PATCH] tags: add back modkey + esc keybinding --- rc/tags.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rc/tags.lua b/rc/tags.lua index 904ed38..6e165d9 100644 --- a/rc/tags.lua +++ b/rc/tags.lua @@ -18,6 +18,11 @@ tags = sharetags.create_tags(names, layouts) -- Compute the maximum number of digit we need, limited to 9 keynumber = math.min(9, #tags) +config.keys.global = awful.util.table.join( + config.keys.global, + keydoc.group("Tag management"), + awful.key({ modkey }, "Escape", awful.tag.history.restore, "Switch to previous tag")) + -- Bind all key numbers to tags. -- Be careful: we use keycodes to make it works on any keyboard layout. -- This should map on the top row of your keyboard, usually 1 to 9.