Make nwg-displays workspace-to-monitor assignments actually apply
Issue #9422 (open, Omarchy 4.0.1-1, nwg-displays 0.4.3) states the exact mechanism and the require workaround. On this workstation /usr/share/omarchy/config/hypr/hyprland.lua requires hypr.monitors, hypr.input, hypr.bindings, hypr.looknfeel and hypr.autostart but not hypr.workspaces, and the quattro template is the same. nwg-displays main.py (on_workspaces_apply_btn_hypr) writes workspaces.lua beside workspaces.conf with workspace/monitor/default props, confirmed in upstream source. Arch currently ships nwg-displays 0.4.4-1, and the same writer is still present, so the 0.4.3 in the cause is the reporter's version and still accurate. The fix's loader is real: /usr/share/omarchy/default/hypr/require_optional.lua exposes M.module(), which requires only when package.searchpath finds the module, and bootstrap.lua puts ~/.config/?.lua on package.path so hypr.workspaces resolves to ~/.config/hypr/workspaces.lua. For plain Arch, Hyprland 0.56.2 ConfigManager.cpp prepends <configDir>/?.lua to package.path, so require("workspaces") resolves. hyprctl workspacerules -j exists and emits workspaceString and monitor keys (HyprCtl.cpp v0.56.2, and run read-only here). Not exercised: an actual nwg-displays apply on this machine (the package is not installed).
Symptom
You assign workspaces to monitors in nwg-displays and press Apply. Monitor resolution and position change correctly, but workspace 5 still opens on whatever monitor is focused instead of the one you assigned. hyprctl configerrors is clean.
Cause
nwg-displays 0.4.3 writes two files for a Lua Hyprland config: ~/.config/hypr/monitors.lua (hl.monitor) and ~/.config/hypr/workspaces.lua (hl.workspace_rule). Omarchy 4's stock ~/.config/hypr/hyprland.lua requires hypr.monitors but never hypr.workspaces, so the rules are written and never read. Nothing errors because the file is simply not loaded. The same template is on quattro and in 4.0.4-1 (/usr/share/omarchy/config/hypr/hyprland.lua).
Fix
**Omarchy 4.** Add one line after require("hypr.monitors") in ~/.config/hypr/hyprland.lua. Use the optional loader Omarchy ships so the line is harmless when the file does not exist:
require("hypr.monitors")
require("default.hypr.require_optional").module("hypr.workspaces")
Then hyprctl reload. Workspace rules apply when a workspace is created, so move workspaces that already exist once (or log out and in).
**Plain Arch.** Add require("workspaces") (or whatever path nwg-displays wrote, next to your monitors.lua) to your hyprland.lua the same way.
Verify
hyprctl workspacerules -j | jq -r '.[] | "\(.workspaceString) \(.monitor)"' lists your assignments, and a newly created workspace opens on its assigned monitor.