|
|
Possibly Easier?
How about a short perl (or shell, if that's your preferred poison) script to just use the 'defaults' command to change the background color every time you login (ie. open a terminal window)? This is non-functional, but something like this: #!/usr/bin/perl # Colors to choose from, in R G B @colors = ( "124 248 182", "219 183 28", "55 27 138" ); # Randomly select one $nextIndex = int( rand( scalar( @colors ) ) ); # Set the new background color via the 'defaults' command exec( "defaults", "write", "com.apple.terminal", "BackgroundColor", $colors( $idx ) ); I didn't poke around in the tags for Terminal, but something like that should be possible... Call this script from your .profile or .login file, and every time you open a terminal, the script will select a random color from the list for the next new window. Mr. Sharumpe
Possibly Easier?
Close, but the value you change is a string of float numbers, I just figured out where the foreground and background were.
Randomness gets you some nasty combinations though. Anyone know how to start the Terminal from the command line and get a new window and not another instance of Terminal.app? Then I could just throw this in the dock and run it. As is it is a minor novelty. SAVE YOUR CURRENT SETTINGS!!! chmod 700 or u+x depending on your permission paranoia.
|
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.09 seconds |
|