Comments (4)
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.
Thank you, I will test and report...
from telephone-line.
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):
Doom theme seems to break the separators and the right side is not red too, see here:
No big deal, thanks for the fast support!
Thorsten
from telephone-line.
@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)
- Separator not rendering correctly when window is inactive. HOT 2
- Org-clock segment possible? HOT 1
- Rendering errors HOT 1
- Gap after airline segment HOT 3
- Optionally don't render segments if they are empty? HOT 1
- The mode line cannot display color
- hud segment rendering errors in terminal Emacs HOT 1
- Add support for project.el ? HOT 5
- Looking to apply airline-theme colors using telephone-line
- How can suppress the smiley face (`: )`) on the right corner?
- I'm too dumb: passing arguments to segments? HOT 3
- Some `mode-line` elements do not respect `telephone-line-accent-active`
- Error during redisplay: (eval (telephone-line-separator-render telephone-line-gradient
- Support for colors when using meow
- Right margin incorrect for proportional-width fonts
- Telephone line is slow to update HOT 1
- `(fn FACE)"]) telephone-line-tan-hollow-right 'evil)) signaled (wrong-type-argument number-or-marker-p nil)`
- [bug] `airline-position-segment` not displaying `mode-line-position`, important for some major modes HOT 6
- Issue with face for telephone-line-major-mode-segment in elisp major mode HOT 2
- Just installed it in ubuntu emacs 29, and i ged a log of warnings?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telephone-line.