Hide the modeline on the splash screen

This commit is contained in:
TEC 2021-03-27 20:55:53 +08:00
parent 68530a28bf
commit a95e619a45
Signed by: tec
GPG Key ID: 779591AFDB81F06C
2 changed files with 12 additions and 11 deletions

View File

@ -811,15 +811,6 @@ I'd like some slightly nicer default buffer names
+doom-dashboard-name "► Doom")
#+end_src
Lastly, the doom dashboard "useful commands" are no longer useful to me.
So, we'll disable them and then for a particularly /clean/ look disable
~hl-line-mode~ and hide the cursor.
#+begin_src emacs-lisp
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-shortmenu)
(add-hook! '+doom-dashboard-functions (hl-line-mode -1))
(setq-hook! '+doom-dashboard-mode-hook evil-normal-state-cursor (list nil))
#+end_src
*** Some helper macros
There are a few handy macros added by doom, namely
- ~load!~ for loading external ~.el~ files relative to this one
@ -1076,6 +1067,16 @@ The following is rather long, but it essentially
"\n"))
#+end_src
Lastly, the doom dashboard "useful commands" are no longer useful to me.
So, we'll disable them and then for a particularly /clean/ look disable
the modeline and ~hl-line-mode~, then also hide the cursor.
#+begin_src emacs-lisp
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-shortmenu)
(add-hook! '+doom-dashboard-mode-hook (hide-mode-line-mode 1) (hl-line-mode -1))
(setq-hook! '+doom-dashboard-mode-hook evil-normal-state-cursor (list nil))
#+end_src
At the end, we have a minimal but rather nice splash screen.
#+attr_html: :class invertible :alt The splash screen, just loaded.

BIN
misc/screenshots/splash-screen.png (Stored with Git LFS)

Binary file not shown.