Hi Ivan,
maybe you can create a keybinding with following:
awful.key({...},"M",function ()
change_keyboard_layout_to_english()
menubar.show()
end)
But it has a disadvantage: after closing menu your keyboard layout
doesn't change to previous layout.
But you can use menubar.get [1] function to get menubar wibox so you
can add a signal to visible property [2].
I hope it helps you.
[1]: https://awesome.naquadah.org/doc/api/modules/menubar.html#get
[2]: https://awesome.naquadah.org/wiki/Signals#wibox
2013/7/24 Ivan Osadchii <[email protected]>:
> Hi everybody,
>
> I'm trying to make awesome's menubar always use english keyboard layout and
> I'm stuck. I need this because:
>
> 1) I don't remember myself ever using the alternative layout in the menubar
> 2) Having to switch layout to simply launch an application is irritating
> 3) This would possibly allow me to workaround this nasty bug
> https://awesome.naquadah.org/bugs/index.php?do=details&task_id=982
>
> If you have any ideas, please share. Thanks!
--
To unsubscribe, send mail to [email protected].