From 0f3b91c15d52daecdc0775f46c340510f405a529 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sun, 11 Nov 2018 22:01:21 -0500 Subject: [PATCH] [emacs] remove doom-modeline and eink-theme, use smart-mode-line TODO: maybe look for another theme or create one --- .gitmodules | 16 ++++++---------- init.org | 18 ++++++------------ lib/all-the-icons | 1 - lib/doom-modeline | 1 - lib/eink-theme | 1 - lib/rich-minority | 1 + lib/smart-mode-line | 1 + 7 files changed, 14 insertions(+), 25 deletions(-) delete mode 160000 lib/all-the-icons delete mode 160000 lib/doom-modeline delete mode 160000 lib/eink-theme create mode 160000 lib/rich-minority create mode 160000 lib/smart-mode-line diff --git a/.gitmodules b/.gitmodules index db55daa..2a5450c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,9 +4,6 @@ [submodule "alert"] path = lib/alert url = git@github.com:jwiegley/alert.git -[submodule "all-the-icons"] - path = lib/all-the-icons - url = git@github.com:domtronn/all-the-icons.el.git [submodule "alloy-mode"] path = lib/alloy-mode url = git@github.com:dwwmmn/alloy-mode.git @@ -57,16 +54,9 @@ [submodule "diff-hl"] path = lib/diff-hl url = git@github.com:dgutov/diff-hl.git -[submodule "doom-modeline"] - path = lib/doom-modeline - url = git@github.com:seagle0128/doom-modeline.git [submodule "edit-indirect"] path = lib/edit-indirect url = git@github.com:Fanael/edit-indirect.git -[submodule "eink-theme"] - path = lib/eink-theme - url = git@github.com:maio/eink-emacs.git - remote = aminb git@github.com:aminb/eink-emacs.git [submodule "eldoc-eval"] path = lib/eldoc-eval url = git@github.com:thierryvolpiatto/eldoc-eval.git @@ -243,6 +233,9 @@ [submodule "request"] path = lib/request url = git@github.com:tkf/emacs-request.git +[submodule "rich-minority"] + path = lib/rich-minority + url = git@github.com:Malabarba/rich-minority.git [submodule "s"] path = lib/s url = git@github.com:magnars/s.el.git @@ -258,6 +251,9 @@ [submodule "slack"] path = lib/slack url = git@github.com:yuya373/emacs-slack.git +[submodule "smart-mode-line"] + path = lib/smart-mode-line + url = git@github.com:Malabarba/smart-mode-line.git [submodule "smex"] # used by counsel-M-x path = lib/smex url = git@github.com:nonsequitur/smex.git diff --git a/init.org b/init.org index 79a97e4..5d5a624 100644 --- a/init.org +++ b/init.org @@ -1517,20 +1517,14 @@ Emacs package that displays available keybindings in popup :config (which-key-mode)) #+end_src -** [[https://github.com/seagle0128/doom-modeline][doom-modeline]] +** [[https://github.com/Malabarba/smart-mode-line][smart-mode-line]] #+begin_src emacs-lisp -(use-package doom-modeline - :demand t - :config (setq doom-modeline-height 32) - :hook (after-init . doom-modeline-init)) -#+end_src - -** [[https://github.com/maio/eink-emacs][eink-theme]] - -#+begin_src emacs-lisp -(setq doom-modeline-bar-width 5) -(load-theme 'eink t) +(use-package smart-mode-line + :config + (sml/setup) + ;; (sml/apply-theme 'light) + (remove-hook 'display-time-hook 'sml/propertize-time-string)) #+end_src ** [[https://github.com/bbatsov/crux][crux]] diff --git a/lib/all-the-icons b/lib/all-the-icons deleted file mode 160000 index 52d1f2d..0000000 --- a/lib/all-the-icons +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 52d1f2d36468146c93aaf11399f581401a233306 diff --git a/lib/doom-modeline b/lib/doom-modeline deleted file mode 160000 index f0e882d..0000000 --- a/lib/doom-modeline +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f0e882dbe62a1148bd98d176d6d21d2d5d1a6053 diff --git a/lib/eink-theme b/lib/eink-theme deleted file mode 160000 index f543af2..0000000 --- a/lib/eink-theme +++ /dev/null @@ -1 +0,0 @@ -Subproject commit f543af23adba493b4ec9606fd7900dd681a1b690 diff --git a/lib/rich-minority b/lib/rich-minority new file mode 160000 index 0000000..a50d9b2 --- /dev/null +++ b/lib/rich-minority @@ -0,0 +1 @@ +Subproject commit a50d9b2fd059f6a0e5b22063a5375851a087f61a diff --git a/lib/smart-mode-line b/lib/smart-mode-line new file mode 160000 index 0000000..b79f4fa --- /dev/null +++ b/lib/smart-mode-line @@ -0,0 +1 @@ +Subproject commit b79f4fa5f2380b0d726a895dd7199e5483004490 -- 2.20.1