[emacs] remove doom-modeline and eink-theme, use smart-mode-line
authorAmin Bandali <bandali@gnu.org>
Mon, 12 Nov 2018 03:01:21 +0000 (22:01 -0500)
committerAmin Bandali <bandali@gnu.org>
Mon, 12 Nov 2018 03:01:56 +0000 (22:01 -0500)
TODO: maybe look for another theme or create one

.gitmodules
init.org
lib/all-the-icons [deleted submodule]
lib/doom-modeline [deleted submodule]
lib/eink-theme [deleted submodule]
lib/rich-minority [new submodule]
lib/smart-mode-line [new submodule]

index db55daa..2a5450c 100644 (file)
@@ -4,9 +4,6 @@
 [submodule "alert"]
        path = lib/alert
        url = git@github.com:jwiegley/alert.git
 [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
 [submodule "alloy-mode"]
        path = lib/alloy-mode
        url = git@github.com:dwwmmn/alloy-mode.git
 [submodule "diff-hl"]
        path = lib/diff-hl
        url = git@github.com:dgutov/diff-hl.git
 [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 "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
 [submodule "eldoc-eval"]
        path = lib/eldoc-eval
        url = git@github.com:thierryvolpiatto/eldoc-eval.git
 [submodule "request"]
        path = lib/request
        url = git@github.com:tkf/emacs-request.git
 [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
 [submodule "s"]
        path = lib/s
        url = git@github.com:magnars/s.el.git
 [submodule "slack"]
        path = lib/slack
        url = git@github.com:yuya373/emacs-slack.git
 [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
 [submodule "smex"]  # used by counsel-M-x
        path = lib/smex
        url = git@github.com:nonsequitur/smex.git
index 79a97e4..5d5a624 100644 (file)
--- a/init.org
+++ b/init.org
@@ -1517,20 +1517,14 @@ Emacs package that displays available keybindings in popup
   :config (which-key-mode))
 #+end_src
 
   :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
 
 #+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]]
 #+end_src
 
 ** [[https://github.com/bbatsov/crux][crux]]
diff --git a/lib/all-the-icons b/lib/all-the-icons
deleted file mode 160000 (submodule)
index 52d1f2d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 52d1f2d36468146c93aaf11399f581401a233306
diff --git a/lib/doom-modeline b/lib/doom-modeline
deleted file mode 160000 (submodule)
index f0e882d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit f0e882dbe62a1148bd98d176d6d21d2d5d1a6053
diff --git a/lib/eink-theme b/lib/eink-theme
deleted file mode 160000 (submodule)
index f543af2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit f543af23adba493b4ec9606fd7900dd681a1b690
diff --git a/lib/rich-minority b/lib/rich-minority
new file mode 160000 (submodule)
index 0000000..a50d9b2
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit a50d9b2fd059f6a0e5b22063a5375851a087f61a
diff --git a/lib/smart-mode-line b/lib/smart-mode-line
new file mode 160000 (submodule)
index 0000000..b79f4fa
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit b79f4fa5f2380b0d726a895dd7199e5483004490