hammerspoon2-docs
    Preparing search index...

    Function on

    • Watch a key for changes.

      Parameters

      • key: string

        The name of the setting to watch

      • listener: (newValue: any) => void

        Called with the new value whenever this key changes

      Returns void