📄️ Open Spotlight
Open Spotlight. If an input is supplied, it will prefill Spotlight's search input with that value. Optionally, open Spotlight with a tab or filter preselected.
📄️ Close Spotlight
Close Spotlight if it's open.
📄️ Check if Spotlight is open
Returns true if Spotlight is currently open, and false otherwise.
📄️ Set Spotlight form factor
Sets Spotlight's formfactor, which can be either a modal (default) or inline.
📄️ Get Spotlight state
Returns an object containing boot status and the current input.
📄️ Set Spotlight Shortcut
Set the current user's keyboard shortcut ("hotkey") for opening Spotlight. Primarily used for accessibility.