Functions

main_screen() Get the main screen
screens() Get a list of all available screens

Functions

main_screen()

Returns the main screen as an x, y, w, h array of 4 numbers.

Return:

  • main screen
screens()

Returns a list of all available screens as tables where each screen is represented as an x, y, w, h array of 4 numbers.

Return:

  • screens as an array