How to create a menu bar shortcut to toggle system theme on macOS

  1. Open Automator and create new Workflow.
  1. Find "Change System Appearance" action in the library and drag it to the right (or just click twice).
  1. Save (⌘ + S) the workflow to the ~/Library/Scripts directory (press ⌘ + Shift + G to enter path).
  1. Open Script Editor and go to Preferences. Enable the "Show Script menu in menu bar" checkbox.
  1. Now you can call your theme-changing workflow from the menubar.
If you have any comments, contact me by email.
powered by OpenBSD
© ch1p 2021