diff options
| author | tslil clingman <tslil@posteo.de> | 2025-06-25 20:06:55 +0100 |
|---|---|---|
| committer | tslil clingman <tslil@posteo.de> | 2025-06-25 20:06:55 +0100 |
| commit | 22115670e5e89e340e61ae149d7b95fa8396a6f2 (patch) | |
| tree | 03fc62984cac6eae1e92876ec82862217d1adfb3 /emacs/inits/NO-06-dashboard.el | |
| parent | ae6b5a35f4ed8c44cc2e19e8e60b91eae79d6eb9 (diff) | |
[emacs] remove legacy configuration files
Diffstat (limited to 'emacs/inits/NO-06-dashboard.el')
| -rw-r--r-- | emacs/inits/NO-06-dashboard.el | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/emacs/inits/NO-06-dashboard.el b/emacs/inits/NO-06-dashboard.el deleted file mode 100644 index 2db87ac..0000000 --- a/emacs/inits/NO-06-dashboard.el +++ /dev/null @@ -1,35 +0,0 @@ -;; Time-stamp: <2020-02-08 13:07:24 (tslil@bison)> - -(use-package fortune - :config - (setq fortune-dir "/usr/share/fortune/" - fortune-program "fortune" - fortune-file "/usr/share/fortune/cookie" - fortune-program-options '("-s" "tao" "wisdom")) - (defun dashboard-fortune (n) - (insert - (if (evenp (random 2)) - (with-temp-buffer - (let ((fortune-buffer-name (current-buffer))) - (fortune-in-buffer t) - (buffer-string))) - (shell-command-to-string "shuf -n 1 ~/store/quotes"))))) - - - -(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-banners-directory (expand-file-name "~/.emacs.d/banners/") - dashboard-startup-banner 5 - dashboard-items '((recents . 5) - (projects . 5) - (fortune . 0)) - dashboard-init-info (format "Welcome ~%s!" (user-login-name))) - - (dashboard-setup-startup-hook)) |
