So I somehow bombed optimus manager and now there is no config /etc/X11/ so umm how do I regenarate the config file(if I can)
Reinstall optimus-manager
package.
Umm I tried sudo pacman -S optimus-manager it reinstalled but the config file is not back
Then you are not talking about optimus-manager
config files. That means you have to reinstall the hybrid driver you are using, as that might be the config you deleted.
I fixed everything