Make It Snow On Your Mac With This Bit Of Terminal Magic [OS X Tips]

Snowbound

As you can see, it’s snowing in the Terminal.

This bit of fun is seriously easy to make happen, and it looks super cool when you maximize the Terminal window to full screen. Here’s how to make it snow on your own Mac.

First up, launch Terminal from the Dock, Applications Menu, or app launcher on your Mac. Then, hit Command-I to bring up the Inspector panel. Click the Settings button in the upper right of the Inspector panel, and you can then click on a snow-like visual theme, like Pro for white on black, or Homebrew, for green on black.

Next, paste the entire following code into your Terminal, and then hit the Return key.

ruby -e 'C=`stty size`.scan(/\d+/)[1].to_i;S=["2743".to_i(16)].pack("U*");a={};puts "\033[2J";loop{a[rand(C)]=0;a.each{|x,o|;a[x]+=1;print "\033[#{o};#{x}H \033[#{a[x]};#{x}H#{S} \033[0;0H"};$stdout.flush;sleep 0.1}'

Now you have a snowy time in Terminal! You can make the window full screen, but the “snowflakes” may get out of whack. Simply hit Control-C to stop the process, and re-paste in the full code above.

Related

About the author

Rob LeFebvreAnchorage, Alaska-based freelance writer and editor Rob LeFebvre is Cult of Mac's Games and Tips Editor. He has contributed to various tech, gaming and iOS sites, including 148Apps, VentureBeat, and Paste Magazine. Feel free to find Rob on Twitter @roblef

(sorry, you need Javascript to see this e-mail address)| Read more posts by .

Posted in News | Tagged: , , , , |