Fix machine-generated Hyprland config never loading

Lua's require() treats dots in the module string as directory
separators, so pcall(require, "conf.d.autostart") resolved to
conf/d/autostart.lua instead of the real conf.d/autostart.lua. The
failure was silently swallowed by pcall, so autostart/locale/nvidia/
terminal configs never took effect on any machine using this repo.
Renamed the generated directory to confd (no dot) and updated the
require calls to match.
This commit is contained in:
2026-07-07 23:26:21 +02:00
parent 7947a628ed
commit cb96dd6159
2 changed files with 10 additions and 8 deletions
+4 -4
View File
@@ -11,7 +11,7 @@ hl.config({
})
-- machine-generated by src/install.ts based on chosen packages/detected hardware/locale
pcall(require, "conf.d.autostart")
pcall(require, "conf.d.locale")
pcall(require, "conf.d.nvidia")
pcall(require, "conf.d.terminal")
pcall(require, "confd.autostart")
pcall(require, "confd.locale")
pcall(require, "confd.nvidia")
pcall(require, "confd.terminal")