diff options
| author | 2025-07-17 00:59:25 +0300 | |
|---|---|---|
| committer | 2025-07-17 01:11:15 +0300 | |
| commit | eabb4bdc37c8c40f9075d0894364fd2f11abd925 (patch) | |
| tree | 101273ef2a3efaa02cde608eed1e5594b35d6ff3 | |
| parent | emacs: add popper (diff) | |
| download | dotfiles-eabb4bdc37c8c40f9075d0894364fd2f11abd925.tar.gz dotfiles-eabb4bdc37c8c40f9075d0894364fd2f11abd925.tar.xz dotfiles-eabb4bdc37c8c40f9075d0894364fd2f11abd925.zip | |
emacs: customize dashboard buffer name
| -rw-r--r-- | emacs/.config/emacs/init.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index ac10cd5..8fd9b2c 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el | |||
| @@ -25,6 +25,8 @@ | |||
| 25 | (defconst tmp-dir (expand-file-name "tmp" local-dir)) | 25 | (defconst tmp-dir (expand-file-name "tmp" local-dir)) |
| 26 | (defconst shared-dir (expand-file-name "shared" base-dir)) | 26 | (defconst shared-dir (expand-file-name "shared" base-dir)) |
| 27 | 27 | ||
| 28 | (defconst arkta-dashboard-buffer "*ARKTA*") | ||
| 29 | |||
| 28 | ;; TODO: Check how to do add smth like `:advice (fn :around advice)` sometime | 30 | ;; TODO: Check how to do add smth like `:advice (fn :around advice)` sometime |
| 29 | (require 'use-package) | 31 | (require 'use-package) |
| 30 | (use-package use-package) | 32 | (use-package use-package) |
| @@ -119,6 +121,7 @@ | |||
| 119 | (use-package startup | 121 | (use-package startup |
| 120 | :defer t | 122 | :defer t |
| 121 | :custom | 123 | :custom |
| 124 | (initial-buffer-choice (lambda () (get-buffer-create arkta-dashboard-buffer))) | ||
| 122 | (inhibit-default-init t) | 125 | (inhibit-default-init t) |
| 123 | (inhibit-startup-echo-area-message user-login-name) | 126 | (inhibit-startup-echo-area-message user-login-name) |
| 124 | (inhibit-startup-screen t) | 127 | (inhibit-startup-screen t) |
| @@ -306,6 +309,7 @@ | |||
| 306 | :demand t | 309 | :demand t |
| 307 | :hook (server-after-make-frame . dashboard-open) | 310 | :hook (server-after-make-frame . dashboard-open) |
| 308 | :custom | 311 | :custom |
| 312 | (dashboard-buffer-name arkta-dashboard-buffer) | ||
| 309 | (dashboard-center-content nil) | 313 | (dashboard-center-content nil) |
| 310 | (dashboard-startup-banner (expand-file-name "logo.png" user-emacs-directory)) | 314 | (dashboard-startup-banner (expand-file-name "logo.png" user-emacs-directory)) |
| 311 | (dashboard-items '((projects . 5) (recents . 5) (bookmarks . 5))) | 315 | (dashboard-items '((projects . 5) (recents . 5) (bookmarks . 5))) |