Created
August 27, 2015 18:06
-
-
Save jonmagic/48900d68bb8981d79a29 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias st='osascript /path/to/theme-switcher.scpt' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
st should always be script/test. :D