did a load of stuff for no reason
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user