awesome first looks for a config in your home directory ~/.config/awesome/rc.lua
. When that config does not exist or fails /etc/xdg/awesome/rc.lua
is loaded. There's your answer already.
I find that configuring awesome using Xephyr works best. In one terminal create a nested X Xephyr :1
, in another terminal run awesome on that display:
export DISPLAY=:1
awesome
awesome can also use an alternative config using the -c
or --config
option:
awesome -c /path/to/config.lua