Skip to content

Tlock v0.3.0 — recoverable named sessions

Choose a tag to compare

@github-actions github-actions released this 24 Oct 01:34
· 44 commits to main since this release

Sessions you can return to

  • Blocks now have readable generated names, with an editable Session name field above intentions.
  • Timer checkpoints save every second and on pause or quit. After restarting, recover a saved block or start a new one while keeping the saves.
  • Use tlock sessions to list saves, tlock --resume NAME to recover one, or tlock --name NAME to name a new block.
  • Recovery opens paused at the last checkpoint. Time spent outside Tlock does not count as work.
  • Switching timers, changing presets, or resetting an active block asks whether to keep working, finish early, or end the session. Early finishes record actual elapsed time and offer a reflection.
  • Press P for 25/5, 50/10, or 60/10 focus rhythms. Press F to finish a block early.
  • The header shows today's focus time and completed blocks. Custom countdowns stay standalone after completion.

Reading and sound

  • Choose Qur'an, original Tlock reminders, or Off for reading cards. Show them during every block or only during breaks.
  • Cards rotate every 1–60 minutes, avoid immediate repeats, and optionally play a short book animation.
  • Verse excerpts are labeled and references are documented in docs/READING.md.
  • Settings now includes a Preview button for the selected sound pack. Preview also works when completion sounds are muted and does not save changes.

The previous two-column layout and short command bar are retained.
Existing history is preserved; the database adds session names, completion reasons, and checkpoints.

Update

tlock update
tlock update --status

Reopen Tlock after the background update finishes. A sudden shutdown can lose roughly the final second of timer progress; normal exits save immediately.