I was tipped off whilst trolling the #conky channel on IRC that there would be new ARGB support in the 1.8.0 release candidate of Conky, so naturally I HAAAAD to try it out! I grabbed the latest version from here, and had a go...
First things first, I wanted to try out ARGB, in other words, REAL transparency, as opposed to pseudotransparency. For those of you who don't know the difference, pseudotransparency, rather than actually being see-through, detects what's drawn on the desktop window, and draws it as the Conky background, so it appears, on a blank desktop, as though it's clear. However, as we've seen before, pseudotransparency can cause some hiccups, if you're expecting it to behave like real transparency. It's a particular problem in KDE, for instance, which doesn't draw anything to the desktop window by default, so Conky ends up with a blank background.
In order to test the ARGB functionality, I made a little widget in Lua/Cairo that would be able to sit on top of my other windows, and here's what it came out as:
From My Little Desktop Photos |
Some of you eagle-eyed readers may also have noticed that I said I used Lua/Cairo to draw the widget, but the last time I posted about text manipulation in Cairo, I was frustrated by the lack of a cairo_text_extents() object, which allows for centering and alignment of text. But it's now been compiled into the Cairo bindings Conky uses, so from v1.8.0, you'll be able to use it. The desktop I'm currently using has only Conky widgets on it:
From Screenshots |
That is really cool!
ReplyDeleteI hope you make lots of nice things for the rest of us to work from and adapt (like the great lua scripts you've made)
Cheers
Did you post the code for the button somewhere? I would like to try it. Thanks !
ReplyDeleteGreat. You have made such a nice thing that will be loved by all who will use it. Keep it up.
ReplyDelete