hammerspoon2-docs
    Preparing search index...

    Function set

    • Store a value under the given key. The value persists across Hammerspoon restarts.

      Values must be storable as a property list: strings, numbers, booleans, Dates, arrays, or objects (which may themselves nest any of those types).

      Parameters

      • key: string

        The name of the setting

      • value: any

        A string, number, boolean, Date, array, or object to store

      Returns void

      Passing a native object from another hs.* module (e.g. a timer or hotkey)