diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-22 19:00:36 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-22 19:00:36 -0500 |
| commit | 3371d763b674a8c7b303c4f5192a421cc66fb18c (patch) | |
| tree | 1837af95d43bc370179e26bbe3baa5c5b43bfad5 /modules/system-lib.el | |
| parent | bdcd20722c094e94baea7bf66750516fa7166685 (diff) | |
| download | dotemacs-3371d763b674a8c7b303c4f5192a421cc66fb18c.tar.gz dotemacs-3371d763b674a8c7b303c4f5192a421cc66fb18c.zip | |
refactor(dashboard): derive the navigator and keybindings from one launcher table
The 12 dashboard launchers were inlined twice (once as navigator icon buttons, once as dashboard-mode-map keybindings), so adding or reordering one meant editing both lists, and the icon-row order could drift from the key order.
I pulled them into a single cj/dashboard--launchers table of (KEY ICON-FN ICON-NAME LABEL TOOLTIP ACTION) tuples. cj/dashboard--navigator-rows chunks it four per row into the navigator buttons, and cj/dashboard--bind-launchers binds each key to its action. The icons and the keys now come from one place, with no behavior change: same icons, labels, order, and keys, locked by tests.
Diffstat (limited to 'modules/system-lib.el')
0 files changed, 0 insertions, 0 deletions
