Skip to content

Instantly share code, notes, and snippets.

@round
Created October 26, 2018 01:47
Show Gist options
  • Save round/df64ea14e303cb63f8aff3d7334fda3d to your computer and use it in GitHub Desktop.
Save round/df64ea14e303cb63f8aff3d7334fda3d to your computer and use it in GitHub Desktop.
Toggle Dark/Light Mode
tell application "System Events"
tell appearance preferences
set dark mode to not dark mode
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment