Git Product home page Git Product logo

Comments (4)

dbordak avatar dbordak commented on August 15, 2024

I've just added support for this with the latest commit, however there are two considerations due to the way this package works (that is, only being enabled while in "normal" mode, whereas the other packages are always enabled). First, you need to make sure the package is actually loaded (otherwise the segment will show up blank until you've enabled the mode, not a big deal I guess). Second, it has its own colorsym, ryo. Here's an example:

  (setq telephone-line-lhs
        '((ryo    . (telephone-line-ryo-modal-segment))
          (...)))

from telephone-line.

thorstengrothe avatar thorstengrothe commented on August 15, 2024

Thank you, I will test and report...

from telephone-line.

thorstengrothe avatar thorstengrothe commented on August 15, 2024

It works fine :-) The only thing is, that the right side is gray and not red like in your screenshots,
I use Spacemacs theme and Doom Theme. This is my config with use-package:

(use-package telephone-line
  :ensure t
  :config
  (use-package telephone-line-separators)
  (setq telephone-line-lhs
        '((ryo    . (telephone-line-ryo-modal-segment))
          (accent . (telephone-line-vc-segment
                     telephone-line-erc-modified-channels-segment
                     telephone-line-process-segment))
          (nil    . (telephone-line-minor-mode-segment
                     telephone-line-buffer-segment))))
  (setq telephone-line-rhs
        '((nil    . (telephone-line-misc-info-segment))
          (accent . (telephone-line-major-mode-segment))
          (evil   . (telephone-line-airline-position-segment))))

  ;; ABS
  (setq telephone-line-primary-right-separator 'telephone-line-abs-left
        telephone-line-secondary-right-separator 'telephone-line-abs-hollow-left)
  (setq telephone-line-height 24
        telephone-line-evil-use-short-tag t)
  (telephone-line-mode 1)
  )

With Spacemacs theme it looks like this (see the right side):
bildschirmfoto_2017-05-29_21-07-23

Doom theme seems to break the separators and the right side is not red too, see here:
bildschirmfoto_2017-05-29_21-17-31

No big deal, thanks for the fast support!
Thorsten

from telephone-line.

ogdenwebb avatar ogdenwebb commented on August 15, 2024

@thorstengrothe you have the different color "mode", i.e. your right side uses evil color instead of ryo. You could use the following:

(ryo   . (telephone-line-airline-position-segment)

Or set both segment to evil if you want the same color.

from telephone-line.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.