hammerspoon2-docs
    Preparing search index...

    Function primary

    • The primary display — the one that contains the global menu bar.

      Returns HSScreen | null

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