A pass over the install scripts, dev-tools commands, and Hyprland Lua files that I had stuffed with explain-everything preambles. Most of those rationales (which files ship where, why hyprctl setenv doesn't suffice, etc.) belong in commit messages or PR descriptions, not in code people have to read forever. Kept the few comments that document genuinely non-obvious behaviour: the keybind-env reason for hl.env in envs.lua, why the runtime PAM seds stay scripted in increase-lockout-limit, the chroot/--now distinction in chroot.sh, and the dev-pkg-test split-install reason.
32 lines
951 B
Lua
32 lines
951 B
Lua
-- Learn how to configure Hyprland: https://wiki.hypr.land/Configuring/Start/
|
|
|
|
-- Drop cached omarchy modules so hyprctl reload re-reads them from disk.
|
|
for k in pairs(package.loaded) do
|
|
if k:match("^default%.hypr") or k:match("^hypr%.") then
|
|
package.loaded[k] = nil
|
|
end
|
|
end
|
|
|
|
-- Load user modules from ~/.config and Omarchy defaults from $OMARCHY_PATH.
|
|
package.path = os.getenv("HOME")
|
|
.. "/.config/?.lua;"
|
|
.. (os.getenv("OMARCHY_PATH") or (os.getenv("HOME") .. "/.local/share/omarchy"))
|
|
.. "/?.lua;"
|
|
.. package.path
|
|
|
|
-- All Omarchy default setups
|
|
require("default.hypr.omarchy")
|
|
|
|
-- Change your own setup in these files and override defaults.
|
|
require("hypr.monitors")
|
|
require("hypr.input")
|
|
require("hypr.bindings")
|
|
require("hypr.looknfeel")
|
|
require("hypr.autostart")
|
|
|
|
-- Toggle config flags dynamically.
|
|
require("default.hypr.toggles")
|
|
|
|
-- Add any other personal Hyprland configuration below.
|
|
-- o.window("qemu", { workspace = "5" })
|