Hide the modeline on the splash screen
This commit is contained in:
parent
68530a28bf
commit
a95e619a45
19
config.org
19
config.org
|
@ -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)
BIN
misc/screenshots/splash-screen.png (Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue