diff options
| author | cashmere <cashmere@autistici.org> | 2026-08-16 12:25:10 +0200 |
|---|---|---|
| committer | cashmere <cashmere@autistici.org> | 2026-08-16 12:25:10 +0200 |
| commit | 31035ffa0110d5a59ddff25379124065dca1d84a (patch) | |
| tree | b8d56b54f6827da810ae5564600c7634dfc5be7e /config.org | |
| parent | 058f4d1661f4584c4746bce2c92210484ce602a1 (diff) | |
| download | emacs-31035ffa0110d5a59ddff25379124065dca1d84a.tar.gz | |
md: 2026-08-16T12:25:10+02:00
Diffstat (limited to 'config.org')
| -rw-r--r-- | config.org | 46 |
1 files changed, 44 insertions, 2 deletions
@@ -1267,7 +1267,7 @@ TITLE names the new denote-style file in ~/org." #+begin_src emacs-lisp #+end_src -** COMMENT kitty-graphics +** kitty-graphics Display inline images in terminal Emacs via the Kitty graphics protocol. Only activates when running in a Kitty terminal (not in GUI Emacs). @@ -3494,7 +3494,7 @@ moved to local.el #+end_src -** batppuccin +** COMMENT batppuccin #+begin_src emacs-lisp (use-package batppuccin @@ -5080,6 +5080,48 @@ opening another file in same project does not re-notify." :commands (zfs)) #+end_src +* minimal-dashboard + +#+begin_src emacs-lisp +(use-package minimal-dashboard + :ensure t + :init + (setq initial-buffer-choice #'minimal-dashboard) ;; set initial buffer as dashboard + :custom + (minimal-dashboard-buffer-name "Dashboard") + ;; (minimal-dashboard-buffer-name #'some-func-that-returns-a-string) + + (minimal-dashboard-image-path "~/.emacs.d/Emacs-logo.svg") ;; path to image + ;; (minimal-dashboard-image-path #'some-func-that-returns-a-valid-image-path) + + (minimal-dashboard-text "Welcome to Emacs") ;; plain text + + ;; You can have function returning a string as well + (minimal-dashboard-text (lambda () (format "started in %s" (emacs-init-time)))) + + ;; Multi-line text (with center alignment) is also supported + ;; (minimal-dashboard-text "My multiline\nstring is here") + + ;; Click support for image + ;; (minimal-dashboard-image-click-handler + ;; (lambda (event) + ;; (pcase (event-basic-type event) + ;; ('mouse-1 (message "Left click on image")) + ;; ('mouse-2 (message "Middle click on image")) + ;; ('mouse-3 (message "Right click on image"))))) + + ;; Click support for text + ;; (minimal-dashboard-text-click-handler + ;; (lambda (event) + ;; (pcase (event-basic-type event) + ;; ('mouse-1 (message "Left click on text")) + ;; ('mouse-2 (message "Middle click on text")) + ;; ('mouse-3 (message "Right click on text"))))) + (minimal-dashboard-image-scale 1.25) + (minimal-dashboard-enable-resize-handling t) ;; to refresh when buffer is resized + (minimal-dashboard-modeline-shown t)) ;; visibility of the modeline +#+end_src + * provide init #+begin_src emacs-lisp |
