From 54230c55ddea66cd5b60b2b021b3d4251b1d0b6e Mon Sep 17 00:00:00 2001 From: xeals Date: Tue, 15 Jan 2019 13:41:23 +1100 Subject: [PATCH] feat: add init.fnl to search paths --- conf/{client.fnl => client/init.fnl} | 0 rc.lua | 2 +- conf/theme.fnl => theme/init.fnl | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename conf/{client.fnl => client/init.fnl} (100%) rename conf/theme.fnl => theme/init.fnl (100%) diff --git a/conf/client.fnl b/conf/client/init.fnl similarity index 100% rename from conf/client.fnl rename to conf/client/init.fnl diff --git a/rc.lua b/rc.lua index fffbd06..2f90567 100644 --- a/rc.lua +++ b/rc.lua @@ -1,4 +1,4 @@ local fennel = require("lib.fennel") -fennel.path = fennel.path .. ";.config/awesome/?.fnl" +fennel.path = fennel.path .. ";.config/awesome/?.fnl;.config/awesome/?/init.fnl" table.insert(package.loaders or package.searchers, fennel.searcher) require("cfg") -- .config/awesome/cfg.fnl diff --git a/conf/theme.fnl b/theme/init.fnl similarity index 100% rename from conf/theme.fnl rename to theme/init.fnl