Skip to content

Account for keyboard layout variant for keybinding helper#5881

Open
blegat wants to merge 1 commit into
basecamp:devfrom
blegat:keymap_cache_layout
Open

Account for keyboard layout variant for keybinding helper#5881
blegat wants to merge 1 commit into
basecamp:devfrom
blegat:keymap_cache_layout

Conversation

@blegat
Copy link
Copy Markdown

@blegat blegat commented May 16, 2026

In omarchy menu keybindings, I see the wrong keys for expanding and shrinking windows. This is because kbcli compile-keymap is called without any --layout nor --variant flag so it defaults to US/qwerty even though my kb_layout is be.
So xkbcli compile-keymap gives AE11=minus, AE12=equal and xkbcli compile-keymap --layout be gives AE11=parenright, AE12=minus.

The change in the output of omarchy menu keybindings with this PR is as follows:

Before After
SUPER + minus → Expand window left SUPER + parenright → Expand window left
SUPER + equal → Shrink window left SUPER + minus → Shrink window left
SUPER SHIFT + minus → Shrink window up SUPER SHIFT + parenright → Shrink window up
SUPER SHIFT + equal → Expand window down SUPER SHIFT + minus → Expand window down

Closes #4188
Closes #734

Copilot AI review requested due to automatic review settings May 16, 2026 17:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

SUPER (SHIFT) + equal keyboard shortcuts don't resize windows (Belgian keyboard) Can't resize windows on AZERTY keyboards

2 participants