Files
haylan cb96dd6159 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.
2026-07-07 23:26:21 +02:00

18 lines
551 B
Lua

hl.monitor({ output = "", mode = "preferred", position = "auto", scale = 1 })
local mainMod = "SUPER"
hl.bind(mainMod .. " + D", hl.dsp.exec_cmd("hyprlauncher"))
hl.bind(mainMod .. " + Q", hl.dsp.window.close())
hl.bind(mainMod .. " + M", hl.dsp.exit())
hl.config({
general = { gaps_in = 4, gaps_out = 8, border_size = 2 },
})
-- machine-generated by src/install.ts based on chosen packages/detected hardware/locale
pcall(require, "confd.autostart")
pcall(require, "confd.locale")
pcall(require, "confd.nvidia")
pcall(require, "confd.terminal")