On 02.11.2011 14:10, Daniel wrote:
>> In case you didn't figure it out yet, setting icon in the rules table works.
>>
>> { rule = { name = "irssi" },
>> properties = {floating = true, icon = image(beautiful.chat)}
>> }
>>
>> `beautiful.chat` is a PNG.
>
> I only get "attempt to call global image (a nil value" on this, and (fresh
> from
> git) awesome crashes. What gives?
image() is a awesome-3.4-ism. With git/master it's
oocairo.image_surface_create_from_png().
(create_from_png() only supports PNG files while image() could handle a number
of other formats, but people will have to live with that or invent magic)
Uli
--
- He made himself, me nothing, you nothing out of the dust
- Er machte sich mir nichts, dir nichts aus dem Staub
--
To unsubscribe, send mail to [email protected].