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

Keyboard layout change fix and correction. Change of keybinds as well and now moved to UserConfigs directory #292

Merged
merged 4 commits into from
May 21, 2024

Conversation

vailrahmatulin
Copy link
Contributor

Pull Request

Description

Fixed the problem of switching the keyboard layout on different keyboards connected to the computer. Previously, switching the layout worked for each connected keyboard individually, now it works for all connected keyboards, regardless of where the layout is switched. The waybar widget with notification has also been fixed.

Type of change

Please put an x in the boxes that apply:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (non-breaking change; modified files are limited to the documentations)
  • Technical debt (a code change that does not fix a bug or add a feature but makes something clearer for devs)
  • Other (provide details below)

Checklist

Please put an x in the boxes that apply:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My commit message follows the commit guidelines.
  • My change requires a change to the documentation.
  • I want to add something in Hyprland-Dots wiki.
  • I have added tests to cover my changes.
  • I have tested my code locally and it works as expected.
  • All new and existing tests passed.

Additional context

If the layout in the widget does not match the current keyboard layout, run: echo "us" > ./.cache/kb_layout instead of "us", put the identifier of the current keyboard layout, for example "ru" or "en" or "ua", etc.

Changing the keyboard layout for all keyboards connected to the computer.
Disabling Alt+Shift key interception
Assigning the Alt+Shift keys to trigger the script SwitchKeyboardLayouts.sh
Assigning the Alt+Shift keys to trigger the script SwitchKeyboardLayouts.sh
Copy link
Owner

@JaKooLit JaKooLit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@JaKooLit JaKooLit changed the base branch from main to development May 21, 2024 13:00
@JaKooLit JaKooLit changed the title Correction of the keyboard layout change. Keyboard layout change fix and correction. Change of keybinds as well and now moved to UserConfigs directory May 21, 2024
@JaKooLit JaKooLit merged commit 4739572 into JaKooLit:development May 21, 2024
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