Original Summary

I built this because notifications never worked on me. I&#x27;d dismiss the alert and keep typing until my wrists hurt.<p>Pomlock is a Linux Pomodoro timer that locks your keyboard and mouse through evdev when your break starts, and covers the screen with a countdown overlay. You can&#x27;t dismiss it until the break is over or keep working.<p>The whole thing runs as a terminal UI built with Textual. The home screen shows widgets for your session history, a chart of the week&#x27;s stats, and progress against per-activity goals, all live while you work.<p>A few other things worth knowing: - --no-block-input if you want the timer without the hard lock - Custom work&#x2F;break&#x2F;long-break cycles, not just 25&#x2F;5 (through the -t or --timer flags) - Tag sessions by activity and set daily&#x2F;weekly&#x2F;monthly goals per activity - Writes live state to a JSON file every second, so it plugs into Waybar or Polybar - You can pass a callback script (--callback) that runs on every phase change, I use mine to start focus music automatically<p>Install with pipx install pomlock or uv tool install pomlock.<p>Curious if anyone else has tried the &quot;remove the choice&quot; approach to breaks versus gentle reminders.


  • 情报分类:技术学习与提效
  • 分类依据:内容涉及技术、AI、软件工具或工程实践
  • 信息来源:Hacker News 新项目
  • 发布时间:2026/9/29 22:33:57