> The question I posed (which got snipped) is, can you split up config files
> a la "source /path/to/file.lua" like you might do in vimrc or muttrc or
> other similar files. Julien's response was.
>
> dofile("myfile.lua")
I did this, so I've "many" config file:
$ ls .config/awesome/
autostart.lua client_rules.lua hooks.lua keybindings.lua rc.lua
statusbars.lua tags.lua widgets.lua
But I'm using a modified "dofile", named dopath:
awesome_config_path = os.getenv("HOME") .. "/.config/awesome/"
function dopath(file)
dofile(awesome_config_path .. file)
end
It works, of course ;)
Zsolt
--
To unsubscribe, send mail to [EMAIL PROTECTED]