Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems on configuration spaceline-all-the-icons.el with Spacemacs #95

Open
BowenWang opened this issue Sep 20, 2018 · 3 comments
Open

Comments

@BowenWang
Copy link

Hi,
I am trying to configure the spaceline-all-hte-icons with Spacemacs, it seems that no matter how I change the segments options, it's still the same, is there any tutorial on configuring spaceline-all-the-icons with Spacemacs?

The method I use:
I first create a layer using the method here https://github.com/TheBB/spaceline

But I rewrite something in package.el in the directory ~/.emacs.d/private/my-spaceline, here is my packages.el file:
(defconst my-spaceline-packages
'(all-the-icons
spaceline
spaceline-all-the-icons
bookmark
winum
eyebrowse
projectile
multiple-cursors
git-gutter
flycheck
which-function
yahoo-weather
fancy-battery
nyan-mode)

(defun my-spaceline/init-all-the-icons ()
(use-package all-the-icons
:config (setq neo-theme 'icons)))

(defun my-spaceline/init-spaceline ()
(use-package spaceline))

(defun my-spaceline/init-spaceline-all-the-icons ()
(use-package spaceline-all-the-icons
:after spaceline
:config (progn
(spaceline-all-the-icons-theme)
(spaceline-all-the-icons--setup-anzu)
(spaceline-all-the-icons--setup-package-updates)
(spaceline-all-the-icons--setup-paradox)
(spaceline-all-the-icons--setup-neotree)
(spaceline-toggle-all-the-icons-battery-status-on)
)))

Any ideas?

@BowenWang
Copy link
Author

Is this because i didn't initialize the packages that provide the service?

For example, when I try to toggle the batter status on like in the above configuration, it doesn't change anything, I didn't see any batter status on the mode line. I saw some warning while the Emacs is loading all the packages at the start, the warning says

The warning information is in the image I attached.
emacs

@syl20bnr
Copy link

Did you open an issue on spacemacs repo ? I think this is better to start from there instead.
Use the key binding SPC h I from spacemacs to open a new issue.

@practicalli-johnny
Copy link

If you are still interested, you can toggle the segments using SPC SPC spaceline-toggle-all-the-icons- and the name of the segment.

You can also add these functions to the dotspacemacs/user-config section of your .spacemacs file. For example:

  (spaceline-toggle-all-the-icons-buffer-path-off)
  (spaceline-toggle-all-the-icons-buffer-size-off)
  (spaceline-toggle-all-the-icons-position-off)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants