From 588b6031e152b031be1dee04c7b38938ea7eb706 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 21 Jan 2021 23:52:21 +0800 Subject: Regular updates In the course of configuring Emacs there are numerous changes to make. This is one regular step. --- dashboard.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'dashboard.el') diff --git a/dashboard.el b/dashboard.el index a8f753f..e2e3669 100644 --- a/dashboard.el +++ b/dashboard.el @@ -17,10 +17,11 @@ (with-current-buffer dashboard (let ((image (create-image "~/.doom.d/banners/default.png"))) (insert + (make-string 3 10) (center-string-in-width (propertize " " 'display image 'rear-nonsticky '(display)) (round (- (window-body-width) - (* (car (image-size image)) 0.6)))))) + (* (car (image-size image)) 1)))))) (newline 5) (insert (center-string-in-width @@ -28,7 +29,8 @@ (window-body-width))) (read-only-mode 1) (set 'mode-line-format - '("%e" (:eval (modeline-format-dashboard))))))) + '("%e" (:eval (modeline-format-dashboard)))) + (view-mode 1)))) dashboard)) (set 'initial-buffer-choice #'dashboard) -- cgit v1.2.3-18-g5258