From a89fb71d6eeb18318d418b74b37c3ec2a3ed2d5e Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 8 Sep 2012 22:59:25 +0200 Subject: [PATCH] tags: allow to create/delete tags --- rc/tags.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rc/tags.lua b/rc/tags.lua index 5160f12..5def46e 100644 --- a/rc/tags.lua +++ b/rc/tags.lua @@ -97,8 +97,9 @@ config.keys.global = awful.util.table.join( t = shifty.tagtoscr(s, t) awful.tag.viewonly(t) end, - "Send tag to next screen")) - + "Send tag to next screen"), + awful.key({ modkey }, 0, shifty.add, "Create a new tag"), + awful.key({ modkey, "Shift" }, 0, shifty.del, "Delete tag")) -- Bind all key numbers to tags. -- Be careful: we use keycodes to make it works on any keyboard layout.