aboutsummaryrefslogtreecommitdiff
path: root/src/pomo/state.rs
AgeCommit message (Collapse)AuthorFilesLines
2026-09-11feat: add matugen/noctalia v5 color template supportSaiyed Shizain1-8/+52
- Add MatugenColors struct reading from ~/.cache/pomoru/colors.json using flat snake_case keys rendered by noctalia v5's template engine - Rename old struct to LegacyNoctaliaColors (kept for backward compat) - Implement priority chain: matugen cache > legacy colors.json > defaults - Fix parse_hex_color to use trim_start_matches instead of fixed-length check, accepting both '#RRGGBB' and 'RRGGBB' formats - Add assets/noctalia/colors-template.json: noctalia template file using {{colors.<role>.default.hex}} token syntax - Add assets/noctalia/templates.toml: drop-in user-template config snippet for ~/.config/noctalia/templates.toml
2026-06-12introduce struct for current statusRanXom1-0/+7
2026-06-12reset timer on time expiration in manual switching modefeat/manual-session-switchingRanXom1-0/+1
2026-06-12add backward compatibility for older configsRanXom1-0/+6
2026-06-12save auto_switch_sessions to configRanXom1-0/+1
2026-06-12Handle session switch manage on timer expirationRanXom1-9/+10
2026-06-12shorten if let in state using chained if letRanXom1-15/+15
2026-06-12introduce auto switch session field in Pomo structRanXom1-14/+28
2026-04-24shift dynamic color logic to state.rsRanXom1-2/+57
parse colors.json generated by noctalia and use it
2026-03-28bump version to 0.1.2v0.1.2RanXom1-9/+21
2026-01-19add more notification msgsSaiyed Shizain1-8/+18
update the ui, footer sits at the bottom of the screen
2026-01-19add notificationsSaiyed Shizain1-2/+24
ui fix: 3 was looking like 8 in timer logic update: every third break is a long break
2026-01-19add persistance using toml fileSaiyed Shizain1-1/+11
2026-01-19add timer editing and smart quitting using qSaiyed Shizain1-5/+8
q now doesn't close the app, instead it closes the current screen opened and only closes the app when on main timer screen
2026-01-19manually fixing the shitty code overhaul by geminiSaiyed Shizain1-7/+11
2026-01-18complete code overhaul by geminiSaiyed Shizain1-79/+14
2026-01-18improve session switching & introduce task editing optionsSaiyed Shizain1-12/+39
2026-01-18add a dynamic help menuSaiyed Shizain1-0/+17
2026-01-18fix unused session warnings and add task navigation and toggleSaiyed Shizain1-3/+47
2026-01-18update ui timer, update mod and state to fix unused warningsSaiyed Shizain1-2/+18
2026-01-18idiomatic rustSaiyed Shizain1-0/+49