dp12 / parrot

A package to rotate text and party with parrots at the same time
GNU General Public License v3.0
172 stars 14 forks source link

Support for spaceline? #2

Open Sbozzolo opened 6 years ago

Sbozzolo commented 6 years ago

I use spaceline with the following configuration:

    (use-package spaceline
      :config
      (require 'spaceline-config)
      (spaceline-spacemacs-theme)
      (setq spaceline-buffer-encoding-abbrev-p nil)
                                            ;(setq spaceline-line-column-p nil)
      (setq spaceline-line-p nil)
      (setq powerline-default-separator (quote arrow))
      (line-number-mode 1)
      (column-number-mode 1)
      (display-time-mode 1)
      (setq display-time-24hr-format t)
      ;; (setq display-time-format "%H:%M - %d %B %Y")
      (setq display-time-default-load-average nil)
      (use-package fancy-battery
        :config
        (setq fancy-battery-show-percentage t)
        (setq battery-update-interval 15)
        (if window-system
            (fancy-battery-mode)
          (display-battery-mode)))
      (spaceline-spacemacs-theme)
      )

(parrot-mode) doesn't seem to have any effect here.

dp12 commented 6 years ago

If you're using spaceline, I believe you may have to manually apply the changes in this fork's commit https://github.com/dp12/spaceline/commit/f0dff948ebb104fb43228f0bfb3ab18b11b4487a to your spaceline installation, as described in the README.

I'll try to see if I can get parrot into the mainstream spaceline repo so this manual patching isn't required.

Opimenov commented 4 years ago

before I applied patch on each use of the parrot and get an error message. patching with provided commit got rid of the error message however parrot icon still does not show up. Any suggestions of what could be going on?

psionic-k commented 2 years ago

Works with doom modeline :man_shrugging: It's as simple as finding the way to customize your modeline and adding (parrot-create) That's what doom modeline does. Please push anything upstream to your modeline if necessary.