Skip to content

Conversation

@kosa12
Copy link

@kosa12 kosa12 commented Dec 14, 2025

modules/bar.py:

  • Clicking the button executes hyprctl switchxkblayout all next to cycle through available keyboard layouts.
  • The on_language_switch method updates the button's label and tooltip dynamically based on Hyprland's active layout event.

@Axenide
Copy link
Owner

Axenide commented Dec 15, 2025

Nice. Where do you set which languages are available?

@kosa12
Copy link
Author

kosa12 commented Dec 19, 2025

in the hyprland.conf you can set the language layout like this:

input {
    kb_layout = us,de,fr
    kb_options = grp:win_space_toggle   // or whatever 
}

And i just added this to have a mouse button support too, not just a keyboard one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants