You're gonna have to provide way more information than 'but it don't work with it'. In what way does it not work? Paste any error messages.
From what I understand you made ~/.config/
and then copied /etc/xdg/awesome/rc.lua
to ~/.config/rc.lua
, which is wrong. It should be ~/.config/awesome/rc.lua
. See man awesomerc