Change the background of Terminal.app from the command line

Is it possible to change the background color of Terminal.app from the shell? If so, how?

+7
terminal macos
source share
2 answers

osascript -e "tell the application \" Terminal \ "to set the background color of window 1 to {0.45000,0,0}"

(I can not take a loan)

+14
source share

I do not know the specifics, but I assume that you will want to write an AppleScript program that you call from your shell script. AppleScript will "Tell" Terminal change the background color.

0
source share

All Articles