Compare commits

...

2 Commits

Author SHA1 Message Date
kj
f199adb367 Improve agenda/items load on dashboard. 2025-02-08 16:43:40 -03:00
kj
4051c11dad Ignore intelephense license files. 2025-02-08 16:25:25 -03:00
2 changed files with 13 additions and 10 deletions

1
.gitignore vendored
View File

@ -33,3 +33,4 @@ workspace/
/eshell/ /eshell/
/.emacs.desktop /.emacs.desktop
/.tutor/ /.tutor/
/intelephense/

View File

@ -58,17 +58,19 @@
;; Un bonito y sencillo panel de inicio ;; Un bonito y sencillo panel de inicio
(use-package dashboard (use-package dashboard
:defer t :defer t
:init
(dashboard-setup-startup-hook)
:hook :hook
(dashboard-after-initialize . (lambda () (elpaca-after-init . (lambda ()
"Refrescamos el dashboard con la agenda luego de cargar todo" "Refrescamos el dashboard con la agenda luego de cargar todo"
(setq dashboard-items '( (when (< (length command-line-args) 2)
;; (recents . 10) (dashboard-open)
(agenda . 10) (run-at-time 1 nil (lambda()
)) "Recargamos el buffers con los items de manera asincrónica"
(dashboard-refresh-buffer) (setq dashboard-items '(
)) ;; (recents . 10)
(agenda . 10)
))
(dashboard-refresh-buffer))) ;; Refrescamos el buffer sin bloquear emacs
)))
:config :config
(setq dashboard-set-file-icons t (setq dashboard-set-file-icons t
dashboard-set-heading-icons t dashboard-set-heading-icons t