aboutsummaryrefslogtreecommitdiff
path: root/Doom/.config/doom/obsolete/no_compile.org
diff options
context:
space:
mode:
authordx <aryadevchavali1@gmail.com>2020-07-17 21:31:16 +0100
committerdx <aryadevchavali1@gmail.com>2020-07-17 21:31:16 +0100
commit94644d01f2a816fdaa61c8e2b435fce51a68090d (patch)
tree17332bea7eb2fb32c37b38401e2a4b1492c17f55 /Doom/.config/doom/obsolete/no_compile.org
parent014f7b616a018c79101f0ae44616b6b378befe9e (diff)
downloaddotfiles-94644d01f2a816fdaa61c8e2b435fce51a68090d.tar.gz
dotfiles-94644d01f2a816fdaa61c8e2b435fce51a68090d.tar.bz2
dotfiles-94644d01f2a816fdaa61c8e2b435fce51a68090d.zip
+doom dashboard config to obsolete folder
Diffstat (limited to 'Doom/.config/doom/obsolete/no_compile.org')
-rw-r--r--Doom/.config/doom/obsolete/no_compile.org53
1 files changed, 53 insertions, 0 deletions
diff --git a/Doom/.config/doom/obsolete/no_compile.org b/Doom/.config/doom/obsolete/no_compile.org
new file mode 100644
index 0000000..fb6e217
--- /dev/null
+++ b/Doom/.config/doom/obsolete/no_compile.org
@@ -0,0 +1,53 @@
+#+TITLE: Don't compile this
+#+DESCRIPTION: Old bits and bobs that shouldn't exist anymore
+
+* Dashboard config
+My very own dashboard config using doom dashboard, with these features:
+- Custom load message
+- Custom splash image and dashboard buffer name
+- Custom dashboard sections for myself
+
+** Benchmark display
+Redo the display-benchmark function to display a different message
+#+BEGIN_SRC elisp
+(defun doom-display-benchmark-h (&optional return-p)
+ "Display a benchmark, showing number of packages and modules, and how quickly
+they were loaded at startup.
+
+If RETURN-P, return the message as a string instead of displaying it."
+ (funcall (if return-p #'format #'message)
+ "εmacs loaded %d packages, %d modules in %.03fs"
+ (- (length load-path) (length doom--initial-load-path))
+ (if doom-modules (hash-table-count doom-modules) 0)
+ (or doom-init-time
+ (setq doom-init-time
+ (float-time (time-subtract (current-time) before-init-time))))))
+#+END_SRC
+
+** Image and buffer name
+Set the splash-image and dashboard buffer name
+Space image comes from [[https://flaticon.com][website]]
+#+BEGIN_SRC elisp
+(setq fancy-splash-image "~/Pictures/SplashScreens/space2.png") ; splash image
+(setq +doom-dashboard-name "*dashboard*")
+#+END_SRC
+** Dashboard items
+Set the dashboard functions (segments in overall buffer), set the sections of the interactive menu as well.
+#+BEGIN_SRC elisp
+(setq +doom-dashboard-functions ; limit the dashboard items
+ '(doom-dashboard-widget-banner
+ doom-dashboard-widget-loaded
+ doom-dashboard-widget-shortmenu))
+
+(setq +doom-dashboard-menu-sections ; Set a specific amount of items
+ '(("Open org-agenda"
+ :icon (all-the-icons-octicon "calendar" :face 'font-lock-keyword-face)
+ :when (fboundp 'org-agenda)
+ :action org-agenda)
+ ("Jump to bookmark"
+ :icon (all-the-icons-octicon "bookmark" :face 'font-lock-keyword-face)
+ :action bookmark-jump)
+ ("Open project"
+ :icon (all-the-icons-material "folder" :face 'font-lock-keyword-face)
+ :action projectile-switch-project)))
+#+END_SRC