;;; init-dashboard.el --- dashboard configuration -*- coding: utf-8; lexical-binding: t -*-
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3

;;; Commentary:

;;; Code:

(use-package memoize)

(use-package all-the-icons
  :after memoize
  :load-path "site-lisp/all-the-icons")

(use-package dashboard
  :ensure t
  :diminish (dashboard-mode page-break-lines-mode)
  :init
  (progn
    (setq dashboard-center-content t
	  dashboard-set-heading-icons t
	  dashboard-set-file-icons nil
	  dashboard-items '((recents . 5)
			    (projects . 5)
			    (agenda . 5))
	  dashboard-set-footer nil))
  :config
  (dashboard-setup-startup-hook))

(provide 'init-dashboard)

;;; init-dashboard.el ends here
