-
Notifications
You must be signed in to change notification settings - Fork 0
/
+dashboard.el
45 lines (40 loc) · 1.36 KB
/
+dashboard.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
;;; +dashboard.el -*- lexical-binding: t; -*-
(defun my-dashboard-widget-simple-banner ()
(let ((point (point)))
(mapc (lambda (line)
(insert (propertize (+doom-dashboard--center +doom-dashboard--width line)
'face 'doom-dashboard-banner) " ")
(insert "\n"))
'(
"_-`````-, ,- '- ."
".' .- - | | - -. `."
"/.' / `. \\"
":/ : _... ..._ `` :"
":: : /._ .`:'_.._\\. || :"
":: `._ ./ ,` : \\ . _.'' ."
"`:. / | -. \\-. \\\\_ /"
" \\:._ _/ .' .@) \\@) ` `\\ ,.'"
" _/,--' .- .\\,-.`--`."
",'/'' (( \\ ` ) "
"/'/' \\ `-' ( "
"'/'' `._,-----'"
"''/' .,---'"
"''/' ;:"
"''/'' ''/"
"''/''/''"
"'/'/'"
"`;"
))
))
(setq +doom-dashboard-functions
'(
;; doom-dashboard-widget-banner
my-dashboard-widget-simple-banner
doom-dashboard-widget-loaded
;; doom-dashboard-widget-footer
)
;; +doom-dashboard-banner-file "EmacsIcon.svg"
;; +doom-dashboard-banner-dir doom-private-dir
)
(add-hook '+doom-dashboard-mode-hook (lambda ()
(hl-line-mode -1)))