aboutsummaryrefslogtreecommitdiff
path: root/modules/dashboard-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-11-20 15:59:47 -0600
committerCraig Jennings <c@cjennings.net>2026-11-20 15:59:47 -0600
commit4df81e5e751cf50c45e1b82e694394ddcb133ada (patch)
tree269e7d0dc65bf71965adc73c55858b2b7ae2f068 /modules/dashboard-config.el
parent1e679c7193f55950849cf9b9d9ac41108db26b3f (diff)
downloaddotemacs-4df81e5e751cf50c45e1b82e694394ddcb133ada.tar.gz
dotemacs-4df81e5e751cf50c45e1b82e694394ddcb133ada.zip
refactor(telega): retire the Telegram client to the archive
I stopped using Telegram in Emacs, so the client goes to the archive. - The module and its tests moved to archive/. - The setup script and docker build files moved with them. - I dropped the init.el require and the make telega-image target. - The dashboard loses its Telegram launcher. Rows are now 5 4 2 2. - C-; T is free again.
Diffstat (limited to 'modules/dashboard-config.el')
-rw-r--r--modules/dashboard-config.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/dashboard-config.el b/modules/dashboard-config.el
index c7ff39dc..14e7bd71 100644
--- a/modules/dashboard-config.el
+++ b/modules/dashboard-config.el
@@ -66,7 +66,6 @@
(declare-function cj/music-playlist-toggle "music-config")
(declare-function cj/music-playlist-load "music-config")
(declare-function cj/erc-switch-to-buffer-with-completion "erc-config")
-(declare-function cj/telega "telega-config")
(declare-function cj/slack-start "slack-config")
(declare-function cj/kill-all-other-buffers-and-windows "undead-buffers")
@@ -156,17 +155,17 @@ Adjust this if the title doesn't appear centered under the banner image.")
(list "m" #'nerd-icons-mdicon "nf-md-music" "Music" "EMMS Music Player" (lambda () (cj/music-playlist-toggle) (cj/music-playlist-load)))
(list "e" #'nerd-icons-faicon "nf-fa-envelope" "Email" "Mu4e Email Client" (lambda () (mu4e)))
(list "i" #'nerd-icons-faicon "nf-fa-comments" "IRC" "Emacs Relay Chat" (lambda () (cj/erc-switch-to-buffer-with-completion)))
- (list "G" #'nerd-icons-faicon "nf-fa-telegram" "Telegram" "Telega Telegram Client" (lambda () (cj/telega)))
(list "s" #'nerd-icons-faicon "nf-fa-slack" "Slack" "Slack Client" (lambda () (cj/slack-start)))
(list "l" #'nerd-icons-octicon "nf-oct-issue_tracks" "Linear" "Linear Issue Tracker" (lambda () (pearl-list-issues))))
"Dashboard launcher table: (KEY ICON-FN ICON-NAME LABEL TOOLTIP ACTION).
Drives both `dashboard-navigator-buttons' and the dashboard-mode-map keys.")
-(defconst cj/dashboard--row-sizes '(5 4 3 2)
+(defconst cj/dashboard--row-sizes '(5 4 2 2)
"Navigator row lengths. Must sum to the number of `cj/dashboard--launchers'.
The top row carries Weather alongside the core tools; the last row pairs
Slack and Linear. (Signal left the table when the signel client was
-retired to archive/ -- agents drive Signal via signal-cli.)")
+retired to archive/ -- agents drive Signal via signal-cli. Telegram left
+it when the telega client was retired the same way.)")
(defun cj/dashboard--navigator-button (l)
"Build a `dashboard-navigator-buttons' entry from launcher L."
@@ -310,8 +309,7 @@ system-defaults) are preserved rather than overwritten."
;; Disable 'q' to quit dashboard
(define-key dashboard-mode-map (kbd "q") nil)
- ;; 'g' refreshes the dashboard (the dired/magit convention). Telegram moved to
- ;; 'G' in the launcher table to free it.
+ ;; 'g' refreshes the dashboard (the dired/magit convention).
(define-key dashboard-mode-map (kbd "g") #'dashboard-refresh-buffer)
;; Launcher keys, derived from `cj/dashboard--launchers' (same source as the