From 588c4b772cc782a2c190029e220290c89a08c8c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= <1224732+snonux@users.noreply.github.com> Date: Sat, 21 Jun 2025 23:24:49 +0300 Subject: Add theme toggling hotkeys --- internal/ui/table.go | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'internal') diff --git a/internal/ui/table.go b/internal/ui/table.go index d0c62a0..ae3af66 100644 --- a/internal/ui/table.go +++ b/internal/ui/table.go @@ -589,6 +589,14 @@ func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { } } return m, nil + case "c": + m.theme = RandomTheme() + m.applyTheme() + return m, nil + case "C": + m.theme = m.defaultTheme + m.applyTheme() + return m, nil case "/", "?": m.searching = true m.searchInput.SetValue("") @@ -714,6 +722,8 @@ func (m Model) View() string { "p: set priority", "f: change filter", "t: edit tags", + "c: random theme", + "C: reset theme", "/, ?: search", "n/N: next/prev search match", "esc: close help/search", -- cgit v1.2.3