summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-03-06 14:55:15 +0800
committerJSDurand <mmemmew@gmail.com>2021-03-06 14:55:15 +0800
commit8bb6e3e47b86568309e0607428de06708ba2ced7 (patch)
tree7436a0bee72fea8b657d6f92cb544a0744d28367
parent04450b34eba6db149c85018148c578fcc676d8fe (diff)
Update the dashboard image.
* dashboard.el (dashboard): Use a new image of a cute cat.
-rw-r--r--cat.pngbin0 -> 61163 bytes
-rw-r--r--dashboard.el4
2 files changed, 2 insertions, 2 deletions
diff --git a/cat.png b/cat.png
new file mode 100644
index 0000000..263c43e
--- /dev/null
+++ b/cat.png
Binary files differ
diff --git a/dashboard.el b/dashboard.el
index c608b34..eab022e 100644
--- a/dashboard.el
+++ b/dashboard.el
@@ -37,13 +37,13 @@
(with-current-buffer dashboard
(cond
((display-graphic-p)
- (let ((image (create-image "~/.doom.d/banners/default.png")))
+ (let ((image (create-image (expand-file-name "cat.png" user-emacs-directory))))
(insert
(make-string 3 10)
(center-string-in-width
(propertize " " 'display image 'rear-nonsticky '(display))
(round (- (window-body-width)
- (* (car (image-size image)) 0.7)))))))
+ (* (car (image-size image)) 1)))))))
((mapc (function
(lambda (str)
(insert