Thank you, I will look into this.
I implemented something similar already, but not using filters.
I already have tag creation/deletion in my old and messy config, I opted
to use one actual tag list, and several textboxes/buttons which borrow a
lot of the code from the taglist to fake the look and feel.

I will post some code in the next few weeks because i think this can be
useful (and I don't think it's terrible that I reimplemented large parts
of taglist's code).

thanks for the tip.

On 19/09/13 09:59, Eloi Crespillo wrote:
> I don't know if awesome supports multiple taglists, but just in case it
> doesn't support it, I would like to point you in the direction of an
> alternative approach. Consider this:
> 
> * Since recent versions, awful.widget.taglist has an option to hide
> empty tags on the taglist (taglist.filter.noempty,
> http://awesome.naquadah.org/doc/api/modules/awful.widget.taglist.html )
> * You could add/delete tags on runtime (awful.tag.add/delete,
> http://awesome.naquadah.org/doc/api/modules/awful.tag.html )
> * You could change keybindings on runtime (redefining root.keys)
> 
> So, instead of having several taglists, you could have add a lot of tags
> to your taglist and change keybindings on runtime to emulate multiple
> taglists.
> 
> I had the same problem some months ago. I wanted to have five "contexts"
> on my first three tags (bound to MOD+1/2/3), so I could store
> project-related windows on these tags and switch contexts with a simple
> keybinding. 
> 
> So, I created 5x3 tags at the beggining of the first list (1-1, 1-2,
> 1-3, 2-1, 2-2, ...and so on) hidden by default, and with the help of
> awesome-client and a little script changed the keybindings when I wanted
> to change contexts.
> 
> The only drawback on this approach is that used tags will be shown on
> the taglist. I like it this way (so I know which context tags are in
> use), but if you don't like it, you could redefine the filter function
> that awful.widget.taglists uses to not show some tags if they aren't in
> your current context. 
> 
> I hope it helps ;)
> 
> 
> 2013/9/19 Yussi <[email protected] <mailto:[email protected]>>
> 
>     Hi guys,
>     I was wondering what will be the best way to implement multiple taglists
>     (with different tags on each list). At the moment I am working on the
>     assumption that this is not doable in a nice way since the whole system
>     appears to only handle one taglist (and one collection of tags). and so
>     I am planning to just use awful.widget.button for each tag and bind it
>     to change tag, but this seems somehow ugly.
> 
>     my goal here is to have some sort of nice tagging system which borrows
>     from shifty, but I want to be able to create a taglist on the fly, so
>     for example one taglist for network monitoring with one tag running
>     wireshark, another split "watch lsof -i" and "watch netstat -..." etc,
> 
>     and separate those from say the development taglist in which I might
>     have some tags with adb shell, adb logcal, eclipse etc.
> 
>     would my "hack" of using buttons bound to tags to achieve this the best
>     possible way at the moment?
> 
>     thanks,
>     Yussi.
> 
>     --
>     To unsubscribe, send mail to [email protected]
>     <mailto:[email protected]>.
> 
> 


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

Reply via email to