From a95e619a45b5bade8456775a7588d589d6acfab8 Mon Sep 17 00:00:00 2001 From: TEC Date: Sat, 27 Mar 2021 20:55:53 +0800 Subject: [PATCH] Hide the modeline on the splash screen --- config.org | 19 ++++++++++--------- misc/screenshots/splash-screen.png | 4 ++-- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/config.org b/config.org index 772c22f..fa307d6 100644 --- a/config.org +++ b/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. diff --git a/misc/screenshots/splash-screen.png b/misc/screenshots/splash-screen.png index 568480e..d304241 100644 --- a/misc/screenshots/splash-screen.png +++ b/misc/screenshots/splash-screen.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f9d7d6cdb50908ebd11113871d302c06530a9e89d993ff030f0e96ddbd1934e2 -size 14293 +oid sha256:3c6896c93e36aa481e07bed01c683b76ca7a68eba097b471a25232cd9bbe8ceb +size 12465