Last active
September 1, 2017 01:03
-
-
Save swaroopch/2252a3cf3b1c8ad03513bc594a310f6b to your computer and use it in GitHub Desktop.
How do I add a new segment to the spacemacs mode line?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(spaceline-define-segment foo | |
"Foo Docs" | |
(when (bound-and-true-p spaceline-foo-p) | |
"Foo: TODO") | |
:when active | |
:global-override foo) | |
(add-to-list 'spacemacs-spaceline-additional-segments '(foo)) | |
(spaceline-spacemacs-theme '(foo)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment