tags: allow to create/delete tags

This commit is contained in:
Vincent Bernat 2012-09-08 22:59:25 +02:00
parent 48d9839de4
commit a89fb71d6e

View file

@ -97,8 +97,9 @@ config.keys.global = awful.util.table.join(
t = shifty.tagtoscr(s, t) t = shifty.tagtoscr(s, t)
awful.tag.viewonly(t) awful.tag.viewonly(t)
end, 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. -- Bind all key numbers to tags.
-- Be careful: we use keycodes to make it works on any keyboard layout. -- Be careful: we use keycodes to make it works on any keyboard layout.