Hs.grid.getCell(cell, screen) -> hs.geometry an hs.geometry rect), or nil if an error occurred window - an hs.window object to act on if omitted, the focused or frontmost window will be used.The function should modify it as needed and return nothing fn - a function that accepts a cell object as its only argument.Hs.grid.adjustWindow(fn, window) -> hs.gridĬalls a user specified function to adjust a window's cell Functions - API calls offered directly by the extensionĪPI Documentation Variables HINTS SignatureĪ bidimensional array (table of tables of strings) holding the keyboard hints (as per `hs.keycodes.map`) to be used for the interactive resizing interface.Īllows customization of the modal resizing grid user interface.In this case, the grid will highlight the selected cells.Īfter highlighting enough cells, press enter to move/resize the window to the highlighted area. Once you selected a cell, you can use the arrow keys to navigate through the grid. You can also use the arrow keys to move the window onto adjacent screens, and the tab/shift-tab keys to cycle to the next/previous window. The selected cell will become the new upper-left of the window. To resize/move the window, you can select the corner cells of the desired position.įor a move-only, you can select a cell and confirm with 'return'. The grid will be overlaid on the focused or frontmost window's screen with keyboard hints.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |