Theme

35 views
Skip to first unread message

Gibran Ortega

unread,
Feb 7, 2022, 5:24:11 PM2/7/22
to qtile-dev
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?


Thanks,

el Paraguayo

unread,
Feb 8, 2022, 1:04:12 AM2/8/22
to qtil...@googlegroups.com
There's an option to reload your config file instead of restarting.

lazy.reload_config()

--
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 qtile-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/01e8fe12-0d13-444d-8422-ad27919a86dcn%40googlegroups.com.

Gibranlp

unread,
May 6, 2022, 3:49:34 PM5/6/22
to qtile-dev
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

Gibranlp

unread,
May 6, 2022, 4:11:15 PM5/6/22
to qtil...@googlegroups.com
I'm using while.cmd_reload_config() this is working fine

You received this message because you are subscribed to a topic in the Google Groups "qtile-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/qtile-dev/o0aIJ-R80pQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to qtile-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qtile-dev/21d29201-5f2d-45c3-a031-2da5709859a7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages