summaryrefslogtreecommitdiff
path: root/bindings.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bindings.lua')
-rw-r--r--bindings.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/bindings.lua b/bindings.lua
index 3241a56..fb0f331 100644
--- a/bindings.lua
+++ b/bindings.lua
@@ -146,12 +146,12 @@ function M.create(workspace)
end)
)
- -- Bind all key numbers to tags.
+ -- Switching between pages on current desk
-- 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.
for i = 1, 10 do
globalkeys = gears.table.join(globalkeys,
- -- View tag only.
+ -- View page <i> on current desk
awful.key({ modkey }, "#" .. i + 9,
function ()
local screen = mouse.screen
@@ -164,7 +164,8 @@ function M.create(workspace)
workspace:view(screen, desk, i)
end),
- -- Move client to tag.
+
+ -- Move focused client to page <i> on current desk.
awful.key({ modkey, "Shift" }, "#" .. i + 9,
function ()
if client.focus then