|
|
A script to cycle Terminal color/transparency settings
Very cool -- thanks for the tip
I didn't like all the . files so I took the liberty of condensing it to one osascript call that will do the same. Then I added text color (normal and bold) as 2 additional calls in the .login Here is my .login file
# will cycle through red, green, blue, black, white, fuschia, aqua, orange, and yellow
osascript -e 'tell application "Terminal" to \
set background color of window 0 to item ((number of windows) mod 9 +1) of \
{{-1, -1, 0, -10000}, {-1, 0, 0, -10000}, {0, -1, 0, -10000},\
{0, 0, -1, -10000}, {0, 0, 0, -10000}, {-1, -1, -1, -10000},\
{-1, 0, -1, -10000}, {0, -1, -1, -10000}, {-1, 32767, 0, -10000}}'
osascript -e 'tell application "Terminal" to \
set normal text color of window 0 to item ((number of windows) mod 9 +1 ) of \
{"black","black","black",\
"white","yellow","blue",\
"black","black","black"}'
osascript -e 'tell application "Terminal" to \
set bold text color of window 0 to item ((number of windows) mod 9 +1) of \
{"black","black","black",\
"white","yellow","blue",\
"black","black","black"}'
less painful pastels
try setting those -1,0,0 color values to permuations of 60000,50000,40000 for more eye-pleasing pastels. the defaults make you want to scoop your eyes out with a spoon.
less painful pastels
So that explains the seizures -- thanks!
less painful pastels
could you give an example? only for -1,0,0.... and how do permutations work? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.14 seconds |
|