manateelazycat / awesome-tray

Hide mode-line, display necessary information at right of minibuffer.
283 stars 36 forks source link

More screenshots

What's this?

I don't like the mode-line, it's too high and affect me to read the code. With Emacs, we only need to focus on very little information, such as time, current mode, git branch. Excessive information can seriously interfere with our attention.

Installation

Clone this repository

$ git clone --depth=1 https://github.com/manateelazycat/awesome-tray.git

Then put awesome-tray.el to your load-path.

The load-path is usually ~/elisp/. It's set in your ~/.emacs like this:

(add-to-list `load-path (expand-file-name "~/elisp"))
(require 'awesome-tray)
(awesome-tray-mode 1)

Customize Mode line.

Dangerous options

Please read the docstring for those variables

Those options can make your awesome-tray look weird, if your minibuffer looks weird disable them

Customize Module

You can control modules through option awesome-tray-active-modules.

When changing the modules load awesome-tray-mode after setting the modules to prevent useless hooks and changes

You can find all modules name in the keys of variable awesome-tray-module-alist. Currently we have:

Create a Module

Let's create a module that says hello to you. With a module you need:

If you created a module that could be useful to others, please consider contributing it to awesome-tray!