On 01.11.11 17:43, Uli Schlachter wrote:
> 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
> }
Yippie! It works. Thanks
-
Klaus
--
To unsubscribe, send mail to [email protected].