diff options
-rw-r--r-- | bindings.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bindings.lua b/bindings.lua index faf133d..1e6e03c 100644 --- a/bindings.lua +++ b/bindings.lua @@ -198,6 +198,15 @@ function M.create(workspace) workspace:view(screen, i) end), + -- View empty (or first) page on desktop <i> + awful.key({ modkey, "Control" }, "#" .. keycode, + function () + local screen = mouse.screen + local desk = workspace.desktops[i] + local page_idx = desk:find_empty_page() or 1 + workspace:view(screen, i, page_idx) + end), + -- Move focused client to empty (or first, if all non-empty) -- page on desktop <i> awful.key({ modkey, "Shift" }, "#" .. keycode, |