The Conky Blog The Official Blog for Conky, a Lightweight System Monitor

28Aug/090

Feature Feature: Built-in Lua Bindings for Cairo

Cairo Pie Screenshot

Cairo Pie Screenshot

As you may have read in the Conky 1.7.2 feature tour, one of the most exciting new features is the ability to draw directly to Conky's window, using Cairo and/or imlib2. As a demonstration, our own Brenden wrote a little Lua script to use Cairo to draw top information as a pie chart. I modified the script slightly to make it fit with my current desktop...et voila!

To reproduce the look above, I've packaged my .conkyrc, Brenden's original cairo-pie.lua and the cairo-pie.lua I modified, over on my gnome-look.org profile.

There are other examples of Lua scripts for Conky over at norsetto.890m.com and further samples of Cairo scripts at cairographics.org.

Enjoy!

Filed under: Features Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.

Essential Links

Categories

Archive Posts