diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 16:09:54 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 16:09:54 -0500 |
| commit | aeec22d07094a571a8759b30f40baf074538526d (patch) | |
| tree | f2882b7241086fe30f9299b136dc0cb3d6b7be69 | |
| parent | 11cca10dcdbc8b14a70cce892d61baf53067d76e (diff) | |
| download | dotemacs-aeec22d07094a571a8759b30f40baf074538526d.tar.gz dotemacs-aeec22d07094a571a8759b30f40baf074538526d.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).
| -rw-r--r-- | modules/dashboard-config.el | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/dashboard-config.el b/modules/dashboard-config.el index 7adcdee76..2fbed7168 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 |
