What would be the right way to call a Lazy object inside a function? def change_theme(qtile): lazy.reload_config() # This does not work
On Tuesday, February 8, 2022 at 12:04:12 AM UTC-6 elParaguayo wrote: > There's an option to reload your config file instead of restarting. > > lazy.reload_config() > > On Mon, 7 Feb 2022, 22:24 'Gibran Ortega' via qtile-dev, < > [email protected]> wrote: > >> Hi >> >> I am trying to make a dynamic theme for qtile, and also im learning >> python as i go through, so what i want to ask if this, >> >> What would be the right way to make the qtile theme dynamic?, what i do >> so far is that i copy the theme.py for every different theme, and then >> restart qtile. >> >> Is there any other (better) way to do it? >> >> you can check here https://github.com/gibranlp/QARSlp >> >> Thanks, >> >> -- >> 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/01e8fe12-0d13-444d-8422-ad27919a86dcn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/qtile-dev/01e8fe12-0d13-444d-8422-ad27919a86dcn%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/21d29201-5f2d-45c3-a031-2da5709859a7n%40googlegroups.com.
