From 1fc6925f9328ce7ce909aad0acf619d618eddcc2 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 13 May 2026 16:09:54 -0500 Subject: 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). --- modules/dashboard-config.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'modules') 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 -- cgit v1.2.3