Refactor lightline config.