Skip to content
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

Language/keyboard layout module #575

Open
madfanat opened this issue May 8, 2024 · 6 comments
Open

Language/keyboard layout module #575

madfanat opened this issue May 8, 2024 · 6 comments
Labels
enhancement New feature or request

Comments

@madfanat
Copy link

madfanat commented May 8, 2024

Request
It would be great to have a built-in module similar to Waybar’s "sway/language" or "hyprland/language".

@madfanat madfanat added the enhancement New feature or request label May 8, 2024
@JakeStanger
Copy link
Owner

Could you expand on the request please, as I don't have the context on what Waybar's module does, or what you potentially want this one to do differently?

@madfanat
Copy link
Author

madfanat commented May 9, 2024

Well, shortly, the main feature of both these modules is the display of the current keyboard layout/language (qwerty, dvorak, ENG, RUS, etc whatever you want). Also, it’s nice to have a popup box with these settings.

@yavko
Copy link
Contributor

yavko commented May 9, 2024

Well, shortly, the main feature of both these modules is the display of the current keyboard layout/language (qwerty, dvorak, ENG, RUS, etc whatever you want). Also, it’s nice to have a popup box with these settings.

For hyprland I think the layoutchanged event in hyprland-rs can be used, but I'm not totally sure

@JakeStanger
Copy link
Owner

Is there any standardised protocol/service this should be using, or is it down to the compositor to expose over its IPC?

@yavko
Copy link
Contributor

yavko commented May 9, 2024

I'm pretty sure it's compositor specific

@bluebyt
Copy link

bluebyt commented Jun 1, 2024

I tried to do a script for Ironbar to do that, I can change the current layout with this command:

hyprctl switchxkblayout logitech-craft next

But I cannot get the current layout like explained in this tread:
hyprwm/Hyprland#2616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants