Refactor lightline configuration.