hammerspoon2-docs
    Preparing search index...

    Function on

    • Register a listener that fires whenever any of the user's locale settings change. Read current() or details() inside the listener to inspect the new state.

      Parameters

      • event: "change"

        The event to listen for (the only event this module emits)

      • listener: () => void

        Called with no arguments when locale settings change

      Returns void