O'Reilly logo

Instant Rainmeter Desktop Customization Tool How-to by Ken Lim

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding more buildings in an efficient manner (Intermediate)

As we've covered in the previous recipe, there are many other measurements for your computer that are built into Rainmeter. You could copy and paste the Memory skin we made in the previous recipe, and change the measurement and labels to match.

However, if you wanted to change the color of the buildings, or the size of the font, you would have to go through all the skins and then make all the changes one by one. This is bad, and this is the reasoning behind one of the most important principals in programming, as Andrew Hunt and David Thomas puts it in their book The Pragmatic Programmer:

DRY—Don't Repeat Yourself

In this recipe, we are going to refactor our previous cityscape, so that we ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required