hammerspoon2-docs
    Preparing search index...

    Function main

    • The screen that currently contains the focused window, or the screen with the keyboard focus if no window is focused.

      Returns HSScreen | null

      An HSScreen object or null if no main screen can be determined.