split main
honor XDG specs