Nice ! Thanks for your help again elPraguayo :) On Saturday, April 17, 2021 at 2:52:05 PM UTC+2 elParaguayo wrote:
> That's a bug in the docs formatting. The parameter is 'layouts' and it > takes a list of layouts. > > On Sat, 17 Apr 2021, 13:26 Seph IZ, <[email protected]> wrote: > >> >> hey ! >> Version 0.17.0 >> Trying to define different list of Layouts for several groups : >> >> >> >> groups = [ >> Group("MAIN", spawn=terminal, exclusive=False, layoutslist=layouts_main, >> matches=[]), >> Group("WWW", spawn="firefox", exclusive=False, ), >> Group("CHAT",spawn=["discord","telegram-desktop"], exclusive=False), >> Group("NOTE",spawn=["joplin-desktop","joplin-desktop"], exclusive=False), >> Group("VBOX",spawn="virtualbox", exclusive=False), >> ] >> >> layouts = [ >> layout.Columns(**layout_theme), >> layout.Max(), >> ] >> >> layouts_main = [ >> layout.Columns(**layout_theme), >> layout.Matrix(**layout_theme), >> layout.Max(), >> ] >> >> I've got the following error : >> NameError: name 'layouts_main' is not defined >> >> I then define the layouts before the Groups in the config file and get >> the following error : >> TypeError: __init__() got an unexpected keyword argument 'layoutslist' >> >> I do not understand, I use the paremeter *layouts*list in the official >> documentation for my version. >> >> What am I missing ? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "qtile-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/qtile-dev/9abcfb4a-1caf-474b-abfc-82f75439d731n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/qtile-dev/9abcfb4a-1caf-474b-abfc-82f75439d731n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "qtile-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/ae89923d-d791-485e-950f-c6b14f44304an%40googlegroups.com.
