On 31.10.2011 16:36, Klaus Umbach wrote:
> On 29.10.11 20:22, Anurag Priyam wrote:
>> On Thu, Sep 22, 2011 at 10:32 PM, Anurag Priyam
>> <[email protected]> wrote:
>>> On Wed, Sep 21, 2011 at 1:21 PM, Klaus Umbach <[email protected]>
>>> wrote:
>>>> On 19.09.11 02:33, Anurag Priyam wrote:
>>> [...]
>>>>> $ awesome-client
>>>>> c = client.focus
>>>>> c.icon = mailicon.image
>>>>
>>>> Where in rc.lua can I set this?
>>>
>>> That is for you to figure out and let us know too :). I would try it
>>> through rules or 'manage' signal first.
>>
>> 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.
>
> Yes, this works great for specific windows, but not as a default-rule. If I
> set it for all windows, those which already have an icon get overwritten. I
> only want the default-icon for those which have none.
{ rule = {},
callback = function(c)
if not c.icon then
c.cion = image(beautiful.chat)
end
end
}
--
- Buck, when, exactly, did you lose your mind?
- Three months ago. I woke up one morning married to a pineapple.
An ugly pineapple... But I loved her.
--
To unsubscribe, send mail to [email protected].