Try `keyboard_widget.cmd_next_keyboard()` 2019 m. lapkr. 23 d., št 08:54, Ahmed Mohamedeen <[email protected]> rašė:
> How do I get stack traces? xtrace qtile >> qtile.log doens't seem to log > anything > > On Friday, 22 November 2019 18:29:56 UTC+2, Tycho Andersen wrote: >> >> On Thu, Nov 21, 2019 at 11:40:36PM -0800, Ahmed Mohamedeen wrote: >> > Hello! >> > I was wondering if it's possible to change the keyboard layout with the >> > keyboard? >> > I'm trying something like defining the widget like >> > >> > KeyboardLayout = widget.KeyboardLayout(configured_keyboards=['us', >> 'ara']) >> > >> > and then defining key >> > Key([mod], "space", KeyboardLayout.next_keyboard()), >> > >> > But this does result a CfgErr for some reason. >> >> Can you post the stack trace? That looks like it should work to me... >> >> Tycho >> > -- > 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/3c387d7f-4e7e-4008-b262-1a4272093201%40googlegroups.com > <https://groups.google.com/d/msgid/qtile-dev/3c387d7f-4e7e-4008-b262-1a4272093201%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/CACp0OeEot9TTvR24Fzd%2BRX1UZ8AMu26qgRTRL8XfhTBJY38gUQ%40mail.gmail.com.
