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).
is rejected with a logged error and nothing is stored. JavaScript functions have
no property-list representation; if passed directly, or nested inside an array or
object, they are silently stored as an empty object.
Parameters
key: string
The name of the setting
value: any
A string, number, boolean, Date, array, or object to store
Returns void
Remarks
Passing a native object from another hs.* module (e.g. a timer or hotkey)
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). is rejected with a logged error and nothing is stored. JavaScript functions have no property-list representation; if passed directly, or nested inside an array or object, they are silently stored as an empty object.