aboutsummaryrefslogtreecommitdiff
path: root/.doom.d
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 00:09:56 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2023-09-02 00:09:56 +0530
commit930547120822b59d6d7ceb42c9a570f06e4f6232 (patch)
treec6aa6fec64ce9ee0d3fce68fe0d68efeb2030bf0 /.doom.d
parent3b7b3eb9f8eea54de270a51c1828c604b28fa6f1 (diff)
configured splash screen
Diffstat (limited to '.doom.d')
-rw-r--r--.doom.d/config.el2
-rw-r--r--.doom.d/custom.el21
-rw-r--r--.doom.d/init.el2
3 files changed, 19 insertions, 6 deletions
diff --git a/.doom.d/config.el b/.doom.d/config.el
index 3981ff9..05c83ae 100644
--- a/.doom.d/config.el
+++ b/.doom.d/config.el
@@ -7,7 +7,7 @@
;; Some functionality uses this to identify you, e.g. GPG configuration, email
;; clients, file templates and snippets.
(setq user-full-name "Vidhu Kant Sharma"
- user-mail-address "vidhukant@vidhukant.xyz")
+ user-mail-address "vidhukant@vidhukant.com")
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
;; are the three important ones:
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)
diff --git a/.doom.d/init.el b/.doom.d/init.el
index af5bb68..817929b 100644
--- a/.doom.d/init.el
+++ b/.doom.d/init.el
@@ -42,7 +42,7 @@
neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
- tabs ; a tab bar for Emacs
+ ;tabs ; a tab bar for Emacs
;;treemacs ; a project drawer, like neotree but cooler
;;unicode ; extended unicode support for various languages
vc-gutter ; vcs diff in the fringe