fix(hyprlua): restore require("monitors") and update comment for hyprmoncfg

The merge agent reverted the switch from usr.monitors to root-level monitors
(managed by hyprmoncfg). Restore main's version and update the surrounding
comment to explain the new arrangement.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
Amir Alexander Abdelbaki 2026-06-25 13:59:53 +02:00
parent cb464c830f
commit 597bb3bc36
1 changed files with 4 additions and 6 deletions

View File

@ -11,15 +11,13 @@
-- Device-specific files live in ~/.config/hypr/usr/ (deployed from hypr/usr/).
-- =============================================================================
-- Hyprland Lua config — https://wiki.hypr.land/Configuring/Start/
-- Device-specific files live in ~/.config/hypr/usr/ (deployed from hypr/usr/).
-- Pull in per-device configuration modules from the usr/ directory.
-- Each require() maps to a file on the Lua search path (usr/<name>.lua).
-- Pull in per-device configuration modules.
-- monitors is loaded from the Lua search path root (monitors.lua, managed by
-- hyprmoncfg); the remaining modules live in usr/ and are per-machine overrides.
-- They are loaded in this specific order so that later modules can safely
-- depend on earlier ones (e.g., binds may reference programs launched by
-- autostart; input-device-exceptions builds on the global input baseline).
require("usr.monitors") -- monitor layout, resolution, scale, and XWayland zero-scaling
require("monitors") -- monitor layout, resolution, scale (managed by hyprmoncfg)
require("usr.envvars") -- environment variables injected into every child process
require("usr.input") -- keyboard layout, mouse sensitivity, touchpad behaviour
require("usr.binds") -- all keybindings and mouse button bindings