diff --git a/home/emacs/modules/custom-ui-config.el b/home/emacs/modules/custom-ui-config.el index 5c4aaf8a..eee1130a 100644 --- a/home/emacs/modules/custom-ui-config.el +++ b/home/emacs/modules/custom-ui-config.el @@ -50,7 +50,6 @@ doom-modeline-persp-name nil doom-modeline-persp-icon nil) (when (require 'doom-modeline nil :noerror) - (display-battery-mode) (doom-modeline-mode +1)) ;; Dashboard @@ -65,8 +64,10 @@ dashboard-projects-switch-function 'project-switch-project dashboard-projects-show-base t dashboard-recentf-show-base 'align - dashboard-items '((agenda . 20)) - dashboard-heading-icons '((agenda . "nf-oct-calendar")) + dashboard-items '((recents . 5) + (agenda . 15)) + dashboard-heading-icons '((recents . "nf-oct-history") + (agenda . "nf-oct-calendar")) dashboard-banner-ascii (concat " .000000. \n" " .0. .0. \n" " .00. .00. \n" @@ -81,7 +82,8 @@ " HHH HHHH HHHHHHHHH HHHH \n" " HHH HHHHHH \n" " HHHHH HH \n")) -(require 'dashboard nil :noerror) +(when (require 'dashboard nil :noerror) + (add-hook 'dashboard-mode-hook #'khalel-import-events)) ;; Extra minor-modes (when (require 'which-key nil :noerror)