NonGNU ELPA - telephone-line

telephone-line

Description
Rewrite of Powerline
Latest
telephone-line-0.5.tar, 2022-Jan-05, 80.0 KiB
Maintainer
Daniel Bordak <dbordak@fastmail.fm>
Home page
https://github.com/dbordak/telephone-line
Browse ELPA's repository
CGit or Gitweb
Badge

To install this package, run in Emacs:

M-x package-install RET telephone-line RET

Full description

Sorry, your browser does not support SVG. Sorry, your browser does not support SVG. Sorry, your browser does not support SVG.

abs.png

cubed.png

gradient.png

rainbow.png

For more information on how to get those screenshots, check out the examples.

1 Features

Telephone Line is a new implementation of Powerline for emacs with (optional) baked-in evil support, antialiased separators, and an easy configuration language which makes it trivial to write your own themes. Additionally, I dogfood the hell out of it so bugfixes should come quickly. It's also named after a song which is what I always look for in software.

2 Installation

The easiest way to install telephone-line is with package.el through MELPA. Once you have the package installed, initializing it is the usual stuff:

(require 'telephone-line)
(telephone-line-mode 1)

3 Separator Gallery

abs

telephone-line-abs-left.png telephone-line-abs-hollow-left.png

cubed

telephone-line-cubed-left.png telephone-line-cubed-hollow-left.png

identity

telephone-line-identity-left.png telephone-line-identity-hollow-left.png

sin

telephone-line-sin-left.png telephone-line-sin-hollow-left.png

halfsin

telephone-line-halfsin-left.png telephone-line-halfsin-hollow-left.png

cos

telephone-line-cos-left.png telephone-line-cos-hollow-left.png

halfcos

telephone-line-halfcos-left.png telephone-line-halfcos-hollow-left.png

tan

telephone-line-tan-left.png telephone-line-tan-hollow-left.png

gradient

telephone-line-gradient.png

There is also a perfectly flat vertical separator, telephone-line-flat, though there's not much to look at here ;)

4 Configuration

First, remember that all configuration must be done before calling (telephone-line-mode 1)

Segments can be added by configuring the telephone-line-lhs and telephone-line-rhs variables. Example configuration demonstrating the format can be found in ./examples.html, and available segments are in ./telephone-line-segments.el. You can also make your own!

Separators are chosen by configuring telephone-line-primary-left-separator, telephone-line-primary-right-separator, telephone-line-secondary-left-separator, and telephone-line-secondary-right-separator. Available separators are in ./telephone-line-separators.el. You can also make your own!

You can force the height of the mode-line by setting telephone-line-height.

If you want to further information on configuration or creating your own segments/separators, continue on to ./configuration.html!