Skip to content

Instantly share code, notes, and snippets.

@gongzhang
Created August 8, 2020 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gongzhang/ab60c5d3873591db584f26c00921c9a0 to your computer and use it in GitHub Desktop.
Save gongzhang/ab60c5d3873591db584f26c00921c9a0 to your computer and use it in GitHub Desktop.
on run {input, parameters}
(* Your script goes here *)
tell application "System Events"
tell appearance preferences
set dark mode to not dark mode
end tell
end tell
return input
end run
@gongzhang
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment