Created
June 25, 2017 09:51
-
-
Save thbar/b35fdf0161d3c2e638a023cf8cd3b974 to your computer and use it in GitHub Desktop.
If you switch between outdoor and indoor terminal work
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
function darkback { | |
osascript -e "tell application \"Terminal\" to set background color of window 1 to {0,0,0}" | |
} | |
function lightback { | |
osascript -e "tell application \"Terminal\" to set background color of window 1 to {65535,65535,65535}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment