Module: cuteful.screen
Useful functions for screen object.
Info:
- Copyright: 2025
- License: GPLv3
-
Originally authored by: Dwi Asmoro Bangun
(Full contributors list available on our github project)
Static module functions
cuteful.screen.focus_relative (offset) | Move the focus to a screen relative to the current one. | |
cuteful.screen.focus_bydirection (dir, s) | Move the focus to a screen in a specific direction. |
Static module functions
- 🔗 cuteful.screen.focus_relative (offset)
-
Move the focus to a screen relative to the current one.
Parameters:
Name Type(s) Description offset number Value to add to the current focused screen index. 1 to focus the next one, -1 to focus the previous one. - 🔗 cuteful.screen.focus_bydirection (dir, s)
-
Move the focus to a screen in a specific direction.
Parameters:
Name Type(s) Description Default value dir number The direction enum. Not applicable s Optional cwc_screen Screen. nil
See also:
cuteful.enum.direction Extracted from wlr_direction wlr_output_layout.h
(cuteful.enum)tables