From f1b8a955461201cd900eda72d5e722ba568cf156 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 27 Oct 2023 10:45:05 +0100 Subject: [PATCH] Customise how dashboard is started --- home/emacs/modules/custom-ui-config.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/home/emacs/modules/custom-ui-config.el b/home/emacs/modules/custom-ui-config.el index 5cbd6f75..63800427 100644 --- a/home/emacs/modules/custom-ui-config.el +++ b/home/emacs/modules/custom-ui-config.el @@ -40,14 +40,13 @@ (scroll-bar-mode -1) (add-to-list 'default-frame-alist '(font . "FiraCode Nerd Font-12")) (global-prettify-symbols-mode +1) +(global-word-wrap-whitespace-mode +1) (set-frame-parameter nil 'alpha-background 80) (add-to-list 'default-frame-alist '(alpha-background . 80)) (when (require 'doom-themes nil :noerror) (load-theme 'doom-tokyo-night t)) ;; Dashboard -(when (require 'dashboard nil :noerror) - (setq initial-buffer-choice (lambda () (get-buffer-create "*dashboard*"))) - (dashboard-setup-startup-hook)) +(when (require 'dashboard nil :noerror) (setq initial-buffer-choice 'dashboard-open)) ;; Extra minor-modes (when (require 'which-key nil :noerror) (which-key-mode +1))