summaryrefslogtreecommitdiff
path: root/dashboard.el
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard.el')
-rw-r--r--dashboard.el6
1 files changed, 4 insertions, 2 deletions
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)