Files
omarchycn/config/hypr
Ryan Hughes dfc8065915 Clear cached omarchy Lua modules on hyprctl reload
Lua's require() caches modules in package.loaded; without explicit
invalidation, changes to default/hypr/*.lua or ~/.config/hypr/*.lua
won't take effect after hyprctl reload even though hyprland.lua itself
re-runs.

The clear runs unconditionally — benefits both dev-link workflows
(checkout files re-evaluate after every reload) and normal users who
edit their own ~/.config/hypr/*.lua and run omarchy-restart-hyprctl.
Cost is negligible: package.loaded has a handful of entries.

Pattern matches the require_all.lua reload option (which sets
package.loaded[module] = nil before require()), but applied broadly to
the omarchy module namespace at the entry point so individual modules
don't need to opt in.
2026-06-04 18:34:35 -04:00
..
2026-05-15 14:44:50 +02:00
2026-05-14 12:55:34 +02:00
2026-05-25 18:19:06 +02:00
2026-05-14 12:51:03 +02:00
2026-05-11 10:39:22 -04:00
2026-05-19 21:15:33 +02:00
2025-12-13 00:44:24 -05:00