Commit Graph
4 Commits
Author SHA1 Message Date
waozi cb09108156 Fix navigation and add themed style choices in Appearance 2026-09-15 10:03:10 -03:00
waozi 55ac631cb8 Clean up app build warnings 2026-08-31 11:16:29 -03:00
waozi 343025097c breaks: own centered break window, draggable HUD, desktop startup/close settings, single instance
- breaks render in a separate centered always-on-top OS window; the main
  window (possibly hidden to tray) is no longer taken over, and the
  overlay's Postpone/Skip/Rest-now buttons + right-click settings work
  through click-position hit-testing
- micro breaks open immediately when due (toast-prompt phase removed);
  rest/daily keep prompts
- HUD: drag anywhere to move (position persists), right-click opens
  Break settings, disabled timers are hidden, and it stays visible during
  a break with the remaining rest countdown
- Device settings (desktop): startup mode and on-close behavior dropdowns
- single-instance handover via PID lock; a new launch replaces the old
  one gracefully (screenshot mode exempt)
- break exercises removed for now (settings rows, tray entry, overlay);
  practices-during-break is the planned follow-up
- vendor/kryon bumped to pushed master: ui_window center/drag/right-click
  + per-window XImage buffers + X11 Time layout fix; system_theme reads
  the GTK palette from the theme's gtk.css
- locales: new desktop/tray keys everywhere; unused exercise keys dropped
2026-08-16 19:10:34 -03:00
waozi 8f213bb6bb breaks: Workrave break-reminder engine + tests (phase 1)
Pure tick-driven engine in src/breaks/break_engine.kry modeling Workrave's
three timers (micro 3min/30s, rest 45min/10min, daily 4h with 4am reset),
activity/idle counters with natural takes, the prelude prompt loop with
max-prompts escalation, skip/postpone, micro->rest promotion with button
locking, quiet/suspended/reading modes (timed), and per-day stats counters.
break_engine_test drives all of it tick-by-tick; breath_timing_test drops
its static count_value copy (the generated header declares it now).
vendor/kryon -> db8ae14 (K&R '} else {' kir fix this engine depends on).
2026-08-14 14:43:59 -05:00