diff options
author | JSDurand <mmemmew@gmail.com> | 2021-01-21 23:52:21 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2021-01-22 00:01:20 +0800 |
commit | 588b6031e152b031be1dee04c7b38938ea7eb706 (patch) | |
tree | ed25c53f4e1ece59f97ecbff19cb2325bf01baf3 /dashboard.el | |
parent | 53db9402916822e673b3b49fcba26537e2416b59 (diff) |
Regular updates
In the course of configuring Emacs there are numerous changes to make.
This is one regular step.
Diffstat (limited to 'dashboard.el')
-rw-r--r-- | dashboard.el | 6 |
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) |