Refactor installation process and enhance configuration management; add locale detection and autostart support
This commit is contained in:
@@ -1,22 +1,17 @@
|
||||
hl.monitor({ output = "", mode = "preferred", position = "auto", scale = 1 })
|
||||
|
||||
hl.on("hyprland.start", function()
|
||||
hl.exec_cmd("waybar")
|
||||
hl.exec_cmd("mako")
|
||||
hl.exec_cmd("hyprpaper")
|
||||
end)
|
||||
|
||||
local mainMod = "SUPER"
|
||||
|
||||
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd("kitty"))
|
||||
hl.bind(mainMod .. " + D", hl.dsp.exec_cmd("wofi --show drun"))
|
||||
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({
|
||||
input = { kb_layout = "us" },
|
||||
general = { gaps_in = 4, gaps_out = 8, border_size = 2 },
|
||||
})
|
||||
|
||||
-- optional, machine-generated, only present when install detected an NVIDIA GPU
|
||||
-- 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")
|
||||
|
||||
Reference in New Issue
Block a user