diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-12-02 17:54:47 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-12-02 17:54:47 +0100 |
commit | b61cabb6d1fd3d7fd76f64743c431175bc0e5363 (patch) | |
tree | d3c68c58826ad44668b23e35867adb169bf48214 /bindings.lua | |
parent | 0dcfdb0b6bbc7afc38141a2c6c4c5d7201ca4c7b (diff) |
bindings: fix/improve comments for page handling
Diffstat (limited to 'bindings.lua')
-rw-r--r-- | bindings.lua | 7 |
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 |