From 7665721db1a39111744f2ee6d2e1abb272c605f8 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 5 Jul 2018 13:56:23 +0800 Subject: [PATCH] Update README and package descriptions. --- README.md | 10 ---------- doom-modeline.el | 11 ++++++++++- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a7e33dd..453ab17 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/doom-modeline.el b/doom-modeline.el index dd2f8d5..730deb6 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -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: