summaryrefslogtreecommitdiff
path: root/emacs/inits/06-dashboard.el
diff options
context:
space:
mode:
authortslil clingman <>2020-03-24 10:19:15 -0700
committertslil clingman <>2020-03-24 10:19:15 -0700
commit131eae8d53e8bf41023e11da7382294f187ea41d (patch)
tree5cf47fd38bff4c6586e6f3aef48a92bebcf155c0 /emacs/inits/06-dashboard.el
parent6e0beb56dd2fdfccba3094185ca52628091b1208 (diff)
Changes from bison
Diffstat (limited to 'emacs/inits/06-dashboard.el')
-rw-r--r--emacs/inits/06-dashboard.el30
1 files changed, 0 insertions, 30 deletions
diff --git a/emacs/inits/06-dashboard.el b/emacs/inits/06-dashboard.el
deleted file mode 100644
index 4c6d2a7..0000000
--- a/emacs/inits/06-dashboard.el
+++ /dev/null
@@ -1,30 +0,0 @@
-;; Time-stamp: <2019-11-12 10:56:10 (tslil@basingstoke)>
-
-(use-package fortune
- :config
- (setq fortune-dir "/usr/share/games/fortunes/"
- fortune-program "fortune"
- fortune-file "/usr/share/games/fortunes/cookie"
- fortune-program-options '("-s" "tao" "wisdom"))
- (defun dashboard-fortune (n)
- (insert
- (with-temp-buffer
- (let ((fortune-buffer-name (current-buffer)))
- (fortune-in-buffer t)
- (buffer-string))))))
-
-(use-package dashboard
- :ensure t
- :config
- (add-to-list 'dashboard-item-generators '(fortune . dashboard-fortune))
-
- (setq dashboard-center-content t
- dashboard-set-init-info t
- dashboard-set-footer nil
- dashboard-startup-banner 3
- dashboard-items '((recents . 5)
- (projects . 5)
- (fortune . 0))
- dashboard-init-info (format "Welcome ~%s!" (user-login-name)))
-
- (dashboard-setup-startup-hook))