-
-
Notifications
You must be signed in to change notification settings - Fork 696
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module hyprland/language cannot be configured to be usable #2072
Comments
Just a little more info looking into this, lets take one of my layouts as an example: My Since there are no options other than I can actually change the string with this: "format-": "DVP", But that of course changes it for all of my layouts because they all parse to an empty string for brief. |
I ended up using a custom module with a very stupid script instead of the language module:
it requires the hyprland ipc socket2 to be available at |
Thanks for the hack. I might cobble something together for my use case too because this still isn't fixed and the status-quo is not usable in the slightest. |
This works for me:
|
So my ugly script stopped working some time ago so I gave the module a chance again and managed to configure it to behave as I want it to using this settings:
Not sure if the Maybe this is now more of a documentation issue? It would help to update the wiki, adding a way to find out what the "short" name for a layout is - I couldn't find it anywhere. *) in fact my layouts in hyprland config are |
@jficz I've had the same issue with trial and error. I noticed after your comment that using |
I started trying to configure the
hyprland/language
module and came up absolutely flat. The only string I can get out of it is the full long description from the keyboard layout, and that is uselessThe final output I want is a flag, but the flag option probably won't help me even if implemented correctly because, for example, I want the Kazakh flag for my Russian layout. What I really need I think is just the short identifier used to set the layout in the first place. That's a simple code I can use in the config to add custom label string per-layout.
I looked into fixing it myself, but the C++ involved is going to be out of my league especially considering the comparable Sway module is also reported not to work properly so I can't just copy bits (#1501, #1909, #1536)
The text was updated successfully, but these errors were encountered: