Skip to content

Instantly share code, notes, and snippets.

@jonmagic
Created August 27, 2015 18:06
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 jonmagic/48900d68bb8981d79a29 to your computer and use it in GitHub Desktop.
Save jonmagic/48900d68bb8981d79a29 to your computer and use it in GitHub Desktop.
alias st='osascript /path/to/theme-switcher.scpt'
tell application "Terminal"
if current settings of first window = (first settings set whose name is "Light-Theme") then
set current settings of first window to (first settings set whose name is "Dark-Theme")
else
set current settings of first window to (first settings set whose name is "Light-Theme")
end if
end tell
@jnunemaker
Copy link

st should always be script/test. :D

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