Commit graph

3 commits

Author SHA1 Message Date
3b3b1c0f45 Fix top-bar icon showing as three dots
The AppIndicator extension looks up IconName with a fresh icon theme
whose search path is *only* our IconThemePath (data/icons), replacing
the system dirs. Without the system hicolor/index.theme it didn't know
about symbolic/apps, found nothing, and showed its "missing" placeholder.
GTK's own lookup keeps the system dirs, which is why this passed in
testing.

Ship an index.theme in data/icons/hicolor, and test that it lists the
folder the icons live in.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F7w6vnQked3XNiTdTZDP8r
2026-10-26 14:05:54 +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