From 597bb3bc3621a76086fd2a94b812113253ac96d9 Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 25 Jun 2026 13:59:53 +0200 Subject: [PATCH] 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 --- desktopenvs/hyprlua/hypr/hyprland.lua | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/desktopenvs/hyprlua/hypr/hyprland.lua b/desktopenvs/hyprlua/hypr/hyprland.lua index 3f65729..f52d45b 100644 --- a/desktopenvs/hyprlua/hypr/hyprland.lua +++ b/desktopenvs/hyprlua/hypr/hyprland.lua @@ -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/.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