Commit graph

3 commits

Author SHA1 Message Date
9dcfb0cc5f Replace the eye icons with a pause sign and a plus
The eye read as creepy. The top-bar icon is now pause bars behind a plus,
in a ring, struck through while breaks are off; the app-grid icon shows
the same picture on the green tile.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F7w6vnQked3XNiTdTZDP8r
2026-10-26 14:25:01 +00:00
1bcbbfd8be Add a top-bar icon with a status menu, and a 2-hour off option
Pause now shows an eye in the GNOME top bar (open while breaks are on,
closed while they're off). Its menu shows the time to the next break and
offers Take a Break Now, Turn Off for an Hour / for 2 Hours, Turn Breaks
Back On and Quit.

It speaks StatusNotifierItem + dbusmenu over the app's own D-Bus
connection, so it needs the AppIndicator Shell extension (packaged in
Fedora) but no extra Python dependencies; libayatana-appindicator is
GTK 3 only and can't share a process with GTK 4. Without the extension
the icon just doesn't appear. Pause re-registers whenever the watcher
appears, so enabling the extension later or restarting the Shell works.

"Turn Off for 2 Hours" is also added to the app-grid right-click menu
and the status notification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F7w6vnQked3XNiTdTZDP8r
2026-10-26 13:37:35 +00:00
fdd43c389b Add Pause: fullscreen break reminder with eye exercises and scratchpad
Every 25 minutes a fullscreen break screen (one per monitor) guides you
through eye exercises and then a walk. You can snooze it for 2 minutes or
skip it. A scratchpad, focused as soon as the break starts, records what
you were in the middle of and shows it back when the break ends.

- Python + GTK 4 + libadwaita, runs in the background as a GApplication
- CLI: now, snooze, skip, off/on, status, notes, stats, config, quit
- Idle and suspend detection through Mutter's IdleMonitor
- Warning notification with Snooze / Take it now buttons
- install.sh for a per-user install with autostart and an app-grid entry
- Unit tests for the scheduler, notes and exercise plan

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AVT21e1qRMx6WM5n8eoLNA
2026-09-28 14:20:24 +00:00