Skip to content

fix(omarchy): keep the session on Dvorak - #167

Closed
TechDufus wants to merge 1 commit into
mainfrom
fix/session-dvorak
Closed

TechDufus wants to merge 1 commit into
mainfrom
fix/session-dvorak

Conversation

@TechDufus

Copy link
Copy Markdown
Owner

Why

Two ways into a VM want different layouts:

Omarchy's default input.lua takes 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.lua sets kb_layout = "us" and kb_variant = "dvorak" next to the options it already owned. It loads after Omarchy's defaults, so the session is Dvorak on every machine.
  • The console and unlock prompt keep following vconsole.conf: Dvorak on bare metal, US on a VM.
  • Comment in modules/system/bootstrap.sh and the keyboard row in docs/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

  • On the VM (Hyprland 0.56.2), running this file's exact hl.config call through hyprctl eval: every keyboard, including Sunshine's virtual one, reports English (Dvorak); hyprctl configerrors is empty; /etc/vconsole.conf still says us.
  • test:omarchy suites and modules/system/tests/test_keymap.sh pass locally.
  • Not yet applied through a real bootstrap run.

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.
@TechDufus

Copy link
Copy Markdown
Owner Author

Closing: the only VM that needed this (omarchy-1) has been removed, and the VM keymap logic from #165 and #166 is being reverted.

@TechDufus TechDufus closed this Nov 30, 2026
@TechDufus
TechDufus deleted the fix/session-dvorak branch November 30, 2026 21:17
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.

1 participant