Skip to content

Instantly share code, notes, and snippets.

@samkcarlile
Created November 11, 2019 05:26
Show Gist options
  • Save samkcarlile/07b10c53b9a7b2a0e878bf805f18f0d9 to your computer and use it in GitHub Desktop.
Save samkcarlile/07b10c53b9a7b2a0e878bf805f18f0d9 to your computer and use it in GitHub Desktop.
Toggle Dark Mode on macOS
#!/usr/local/bin/bash
osascript -e 'tell app "System Events" to tell appearance preferences to set dark mode to not dark mode'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment