aboutsummaryrefslogtreecommitdiff
path: root/.doom.d/custom.el
diff options
context:
space:
mode:
Diffstat (limited to '.doom.d/custom.el')
-rw-r--r--.doom.d/custom.el21
1 files changed, 17 insertions, 4 deletions
diff --git a/.doom.d/custom.el b/.doom.d/custom.el
index 3a05390..09fcca5 100644
--- a/.doom.d/custom.el
+++ b/.doom.d/custom.el
@@ -6,13 +6,11 @@
'(custom-safe-themes
'("6abe1a7563dbd6524f08e1a875415adb800e918cfb9617f9a1eb8d2ef7f5305a" default)))
(custom-set-faces
- ;; custom-set-faces was added by Custom.
- ;; If you edit it by hand, you could mess it up, so be careful.
- ;; Your init file should contain only one such instance.
+ ;; custom-set-faces was added by Custom. If you edit it by hand, you could mess it up, so be careful. Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
-(add-hook 'go-mode-hook
+(add-hook 'go-mode-hook
(defun my-go-mode-hook ()
(add-hook 'before-save-hook 'gofmt-before-save)
(setq tab-width 2 indent-tabs-mode 0)))
@@ -31,3 +29,18 @@
; window transparency
(add-to-list 'default-frame-alist '(alpha . 90))
+
+;; dashboard config
+
+; anime splash image
+(setq fancy-splash-image "/hdd/Pictures/.emacs-header.png")
+
+; dashboard footer
+(add-hook! '+doom-dashboard-functions :prepend
+ (insert (+doom-dashboard--center +doom-dashboard--width "Welcome back, VidhuKant!") "\n\n\n"))
+
+; delete some menu items
+(assoc-delete-all "Open org-agenda" +doom-dashboard-menu-sections)
+(assoc-delete-all "Jump to bookmark" +doom-dashboard-menu-sections)
+(assoc-delete-all "Open documentation" +doom-dashboard-menu-sections)
+(assoc-delete-all "Open private configuration" +doom-dashboard-menu-sections)