从命令行更改Terminal.app的背景 [英] Change background of Terminal.app from the commandline

查看:103
本文介绍了从命令行更改Terminal.app的背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Shell更改Terminal.app的背景颜色? 如果可以,怎么办?

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

推荐答案

osascript -e"tell application \" Terminal \将窗口1的背景色设置为{0,45000,0,0}"

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

查看全文

登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆