did a load of stuff for no reason

This commit is contained in:
2026-05-12 21:26:58 +01:00
parent b45ba4f751
commit 92e9dd1b8e
7 changed files with 67 additions and 60 deletions

View File

@@ -1,12 +1,15 @@
-- ~/.config/hypr/autoload.lua
-- Path to search
local modules = os.getenv("HOME") .. "/.config/hypr/modules"
-- Get all files in modules dir
local p = io.popen('find -L "' .. modules .. '" -name "*.lua" -type f | sort')
if not p then
return
end
-- Recursively search and return modules
for path in p:lines() do
local ok, err = pcall(dofile, path)
if not ok then