hs.screen.primary
The primary display — the one that contains the global menu bar.
Hammerspoon 2/Modules/hs.screen/HSScreenModule.swift:59
Declaration
hs.screen.primary() -> HSScreen
Parameters
None
Return Value
An HSScreen object or `null` if no primary screen can be determined.