Change background of Terminal.app from the commandline

后端 未结 2 2019
说谎
说谎 2021-01-12 20:19

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

2条回答
  •  遥遥无期
    2021-01-12 21:15

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

    (Can't take the credit)

提交回复
热议问题