mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +02:00
tags: add back modkey + esc keybinding
This commit is contained in:
parent
4dbb842e7c
commit
ca4b595e49
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@ tags = sharetags.create_tags(names, layouts)
|
||||||
-- Compute the maximum number of digit we need, limited to 9
|
-- Compute the maximum number of digit we need, limited to 9
|
||||||
keynumber = math.min(9, #tags)
|
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.
|
-- 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.
|
||||||
-- This should map on the top row of your keyboard, usually 1 to 9.
|
-- This should map on the top row of your keyboard, usually 1 to 9.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue