From b61cabb6d1fd3d7fd76f64743c431175bc0e5363 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 2 Dec 2020 17:54:47 +0100 Subject: bindings: fix/improve comments for page handling --- bindings.lua | 7 ++++--- 1 file 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 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 on current desk. awful.key({ modkey, "Shift" }, "#" .. i + 9, function () if client.focus then -- cgit v1.2.3