Is it possible to change the background color of Terminal.app from the shell? If so, how?
Asked
Active
Viewed 3,752 times
2 Answers
14
osascript -e "tell application \"Terminal\" to set background color of window 1 to {0,45000,0,0}"

Community
- 1
- 1

webclimber
- 2,630
- 4
- 26
- 36
0
I don't know the specifics, but I imagine you'd want to write an AppleScript program which you invoke from your shell script. The AppleScript would "Tell" Terminal to change its background colour.

vanja.
- 2,532
- 3
- 23
- 39