aboutsummaryrefslogtreecommitdiff
path: root/modules/dashboard-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 16:09:54 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 16:09:54 -0500
commit1fc6925f9328ce7ce909aad0acf619d618eddcc2 (patch)
treecaa0fbbef6bddb294e51bc855836a4a0db916056 /modules/dashboard-config.el
parent8fc423d90eff78176fa538f2cf838cb671592e99 (diff)
downloaddotemacs-1fc6925f9328ce7ce909aad0acf619d618eddcc2.tar.gz
dotemacs-1fc6925f9328ce7ce909aad0acf619d618eddcc2.zip
feat(dashboard): add Telegram launcher to a new third row
`dashboard-navigator-buttons' grows a Row 3 with a single Telegram entry (using the `nf-fa-telegram' icon, launching `telega'). The dashboard-mode-map gets a single-letter `g' shortcut to match the other launcher keys. Two follow-up TODOs filed under the parent telegram task: the TDLib docker setup script (so a fresh-clone install can boot telega without a system-wide TDLib build) and a dashboard-icon-balance pass (Row 3 with one entry is asymmetric; decide whether to leave it or reorganize).
Diffstat (limited to 'modules/dashboard-config.el')
-rw-r--r--modules/dashboard-config.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/dashboard-config.el b/modules/dashboard-config.el
index 7adcdee7..2fbed716 100644
--- a/modules/dashboard-config.el
+++ b/modules/dashboard-config.el
@@ -179,6 +179,12 @@ Adjust this if the title doesn't appear centered under the banner image.")
(,(nerd-icons-devicon "nf-dev-terminal")
"Terminal" "Launch VTerm"
(lambda (&rest _) (vterm))
+ nil " " ""))
+
+ ;; Row 3
+ ((,(nerd-icons-faicon "nf-fa-telegram")
+ "Telegram" "Telega Telegram Client"
+ (lambda (&rest _) (telega))
nil " " ""))))
;; == content
@@ -201,7 +207,8 @@ Adjust this if the title doesn't appear centered under the banner image.")
(define-key dashboard-mode-map (kbd "i") (lambda () (interactive) (cj/erc-switch-to-buffer-with-completion)))
(define-key dashboard-mode-map (kbd "s") (lambda () (interactive) (cj/slack-start)))
(define-key dashboard-mode-map (kbd "t") (lambda () (interactive) (vterm)))
- (define-key dashboard-mode-map (kbd "d") (lambda () (interactive) (dirvish user-home-dir))))
+ (define-key dashboard-mode-map (kbd "d") (lambda () (interactive) (dirvish user-home-dir)))
+ (define-key dashboard-mode-map (kbd "g") (lambda () (interactive) (telega))))
;; Override banner title centering (must be after dashboard-widgets loads)
(with-eval-after-load 'dashboard-widgets