Repository navigation
Conversation
Omarchy's default input.lua takes the Hyprland layout from /etc/vconsole.conf, which bootstrap sets to US on a VM for its hypervisor console and disk-unlock prompt. Moonlight sends key positions, so the session then typed QWERTY. keyboard.lua now sets us/dvorak itself. The console and unlock prompt keep following vconsole.conf.
Owner
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Two ways into a VM want different layouts:
/etc/vconsole.confon virtual machines.Omarchy's default
input.luatakes the Hyprland layout from the same/etc/vconsole.conf, so after #165 the session on a VM typed QWERTY.What changes
modules/omarchy/hypr/keyboard.luasetskb_layout = "us"andkb_variant = "dvorak"next to the options it already owned. It loads after Omarchy's defaults, so the session is Dvorak on every machine.vconsole.conf: Dvorak on bare metal, US on a VM.modules/system/bootstrap.shand the keyboard row indocs/fork.md.Not a revert of #165: reverting would put Dvorak back into the unlock prompt.
Trade-off
Typing into a VM's desktop through the hypervisor console is double-mapped. The console is for the unlock prompt; the desktop is reached with Moonlight or gliff.
Verified
hl.configcall throughhyprctl eval: every keyboard, including Sunshine's virtual one, reportsEnglish (Dvorak);hyprctl configerrorsis empty;/etc/vconsole.confstill saysus.test:omarchysuites andmodules/system/tests/test_keymap.shpass locally.