Update README and package descriptions.

This commit is contained in:
Vincent Zhang 2018-07-05 14:01:47 +08:00
parent ff3bd48b34
commit 774879ef0f
2 changed files with 11 additions and 10 deletions

View file

@ -37,22 +37,12 @@ In `init.el`,
(use-package doom-modeline (use-package doom-modeline
:ensure t :ensure t
:defer t :defer t
:requires (shrink-path eldoc-eval)
:hook (after-init . doom-modeline-init)) :hook (after-init . doom-modeline-init))
``` ```
This package requires the fonts included with `all-the-icons` to be installed. This package requires the fonts included with `all-the-icons` to be installed.
Run `M-x all-the-icons-install-fonts` to do so. 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 ## Screenshots
![modeline](https://github.com/hlissner/doom-emacs/raw/screenshots/ml.png) ![modeline](https://github.com/hlissner/doom-emacs/raw/screenshots/ml.png)

View file

@ -41,6 +41,17 @@
;; 4. A customizable mode-line height (see doom-modeline-height) ;; 4. A customizable mode-line height (see doom-modeline-height)
;; 5. An error/warning count segment for flycheck ;; 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: ;;; Code: