hammerspoon2-docs
    Preparing search index...

    Function interfaceStyle

    • Whether macOS is using its light or dark appearance right now. When the appearance is set to Auto, this is the one currently in use. To be told when it changes, use on("interfaceStyle", ...).

      Returns "light" | "dark"

      The current interface style