aboutsummaryrefslogtreecommitdiff
path: root/scripts/setup-reveal.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-22 19:00:36 -0500
committerCraig Jennings <c@cjennings.net>2026-05-22 19:00:36 -0500
commit5c160bd5f33b0e27ecac32af99f650ea50d844fe (patch)
tree4370bd67c5ef524acc351edd39d1fa2d43048cc8 /scripts/setup-reveal.sh
parentda5f5d9470657eeffef64afad5e60c3224e481c8 (diff)
downloaddotemacs-5c160bd5f33b0e27ecac32af99f650ea50d844fe.tar.gz
dotemacs-5c160bd5f33b0e27ecac32af99f650ea50d844fe.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 'scripts/setup-reveal.sh')
0 files changed, 0 insertions, 0 deletions