summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-12-02 17:54:47 +0100
committerAnton Khirnov <anton@khirnov.net>2020-12-02 17:54:47 +0100
commitb61cabb6d1fd3d7fd76f64743c431175bc0e5363 (patch)
treed3c68c58826ad44668b23e35867adb169bf48214
parent0dcfdb0b6bbc7afc38141a2c6c4c5d7201ca4c7b (diff)
bindings: fix/improve comments for page handling
-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