I've just moved to Awesome WM from OpenBox. I like that it's very extensible, customizable and I have huge control about window layout. I like structured and organized things and I'd like to separate that huge .config/awesome/rc.lua
configuration into multiple files.
How to separate Awesome’s `rc.lua` configuration into multiple files
awesomeconfigurationfilesluawindow-manager
Best Answer
You can simply place code in a separate file and include it with
Note: The working directory is
$HOME
. To specify a file relative torc.lua
you can useIf it's more than just some code and it might be used by others as well, it might make sense to create a lua module which can be included with