Update README and package descriptions.

This commit is contained in:
Vincent Zhang 2018-07-05 13:56:23 +08:00
parent c8e559bfb2
commit 7665721db1
2 changed files with 10 additions and 11 deletions

View file

@ -37,22 +37,12 @@ In `init.el`,
(use-package doom-modeline
:ensure t
:defer t
:requires (shrink-path eldoc-eval)
:hook (after-init . doom-modeline-init))
```
This package requires the fonts included with `all-the-icons` to be installed.
Run `M-x all-the-icons-install-fonts` to do so.
If you do not have them already installed, here are the dependencies:
``` emacs-lisp
(use-package shrink-path)
(use-package all-the-icons)
(use-package eldoc-eval)
(use-package projectile)
```
## Screenshots
![modeline](https://github.com/hlissner/doom-emacs/raw/screenshots/ml.png)

View file

@ -31,7 +31,6 @@
;;
;; This package offers a modern modeline them which is extraced from DOOM Emacs
;; (https://github.com/hlissner/doom-emacs/tree/master/modules/ui/doom-modeline).
;;
;; It's also the part of Centaur Emacs (https://github.com/seagle0128/.emacs.d).
;;
;; The DOOM modeline was designed for minimalism, and offers:
@ -41,6 +40,16 @@
;; 4. A customizable mode-line height (see doom-modeline-height)
;; 5. An error/warning count segment for flycheck
;;
;; Installation:
;; From melpa, `M-x package-install RET doom-modeline RET`.
;; In `init.el`,
;; (require 'doom-modeline)
;; (doom-modeline-init)
;; or
;; (use-package doom-modeline
;; :ensure t
;; :defer t
;; :hook (after-init . doom-modeline-init))
;;; Code: