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")
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
general {
|
||||
grab_focus = true
|
||||
}
|
||||
|
||||
cache {
|
||||
enabled = true
|
||||
}
|
||||
|
||||
finders {
|
||||
default_finder = desktop
|
||||
}
|
||||
|
||||
ui {
|
||||
window_size = 500 300
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
configuration {
|
||||
modi: "drun,run";
|
||||
show-icons: true;
|
||||
display-drun: "Apps";
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
width=600
|
||||
height=400
|
||||
location=center
|
||||
show=drun
|
||||
prompt=Search...
|
||||
Reference in New Issue
Block a user