On Sat, Oct 27, 2012 at 10:56:41PM +0200, Uli Schlachter wrote:
> Hi,
>
> On 27.10.2012 21:49, Claudio Kozický wrote:
> >> Hi, I'm trying to change the window property 'instance' but I'm not
> >> succeeding. Here's the rule I'm trying to change it with:
> >>
> >> { rule = { instance = "chromium-autorun" },
> >> properties = { tag = tags[1][3] },
> >> callback = function(c)
> >> awful.client.property.set(c, "instance", "chromium")
> >> end },
> >>
> >> The window gets moved but the callback part doesn't change the value of
> >> 'instance' to 'chromium'. What am I doing wrong?
>
> "instance" is a read-only property implemented in C. That has nothing to do
> with
> awful.client.property.get().
>
> Why do you want to change chromium's instance anyway?
>
> Uli
> --
> "Why make things difficult, when it is possible to make them cryptic
> and totally illogical, with just a little bit more effort?" -- A. P. J.
>
> --
> To unsubscribe, send mail to [email protected].
I'm autorunning chromium and want the autorun window to be moved to tag
3. After the chromium window is moved to tag 3, all additionally opened
chromium windows get moved to tag 3 as well (I don't want that). To
solve the problem, I have to change chromium's instance after the
autorun chromium gets moved to tag 3.
--
Claudio Kozický
--
To unsubscribe, send mail to [email protected].