On Tue, Oct 04, 2011 at 08:28:39PM +0200, Uli Schlachter wrote:
> Pushed, although I'm still not convinced.
> 
> Wouldn't something like this solve the problem in a cleaner way?
> 
> diff --git a/awesomerc.lua.in b/awesomerc.lua.in
> index fcfb333..ef8cc96 100644
> --- a/awesomerc.lua.in
> +++ b/awesomerc.lua.in
> @@ -306,6 +306,8 @@ awful.rules.rules = {
>                       focus = true,
>                       keys = clientkeys,
>                       buttons = clientbuttons } },
> +    { rule = { type = "desktop" },
> +      properties = { skip_taskbar = true } },
>      { rule = { class = "MPlayer" },
>        properties = { floating = true } },
>      { rule = { class = "pinentry" },
>

I recompiled Awesome with patch 0001 and without patch 0002 from my previous
mail. Then I added this rule to the relevant window class. It does not make
a difference in the taglist widget. It also has the side effect that it untags
the client from all tags but one.

This is the rule I use:

    { rule = {
               instance = "luaplasma",
               -- with skip_taskbar set to either true or false
               -- the tags set below in the callback are unset for
               -- the client
               properties = { skip_taskbar = true  }
             },
      callback = function(c)
          c:tags({
            tags[c.screen][1],
            tags[c.screen][2],
            tags[c.screen][3],
            tags[c.screen][4],
            tags[c.screen][8]
          })
      end                                       },

> 
> Uli
> -- 
> "Do you know that books smell like nutmeg or some spice from a foreign land?"
>                                                   -- Faber in Fahrenheit 451
> 
> -- 
> To unsubscribe, send mail to [email protected].

-- 
To unsubscribe, send mail to [email protected].

Reply via email to