domtronn / spaceline-all-the-icons.el

A Spaceline Mode Line theme using All The Icons for Emacs
MIT License
234 stars 24 forks source link

Allow Additional Segments to be added to the theme #22

Closed domtronn closed 7 years ago

domtronn commented 7 years ago

(Quoted from @jwintz #7)

I used to declare many additional segments without having to care about their backround color. See jwintz/prolusion@84d80f1#diff-c924d4a72c2aa8a2b67300e06ef9485b, which were added tp space line's default config as such:

(spaceline-spacemacs-theme 'prolusion-mode-icon 'prolusion-narrow 'prolusion-conda-environment 'prolusion-upgrades-count)

Could it still be done with ?

(spaceline-all-the-icons-theme <ADDITIONAL SEGMENTS>)

domtronn commented 7 years ago

There are some docs in the Spaceline Wiki which show how you can add additional segments to a Spaceline theme. It would be nice to reproduce this for the all-the-icons-theme by adding it to this function as mentioned above.