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
28 lines
588 B
Desktop File
28 lines
588 B
Desktop File
[Desktop Entry]
|
|
Type=Application
|
|
Name=Pause
|
|
Comment=Regular breaks for your eyes and legs
|
|
Exec=@BIN@/pause show
|
|
Icon=net.reudy.Pause
|
|
Terminal=false
|
|
Categories=Utility;
|
|
Keywords=break;timer;eyes;pomodoro;rest;
|
|
StartupNotify=false
|
|
X-GNOME-UsesNotifications=true
|
|
Actions=break-now;off-hour;off-2h;on;
|
|
|
|
[Desktop Action break-now]
|
|
Name=Take a Break Now
|
|
Exec=@BIN@/pause now
|
|
|
|
[Desktop Action off-hour]
|
|
Name=Turn Off for an Hour
|
|
Exec=@BIN@/pause off 60
|
|
|
|
[Desktop Action off-2h]
|
|
Name=Turn Off for 2 Hours
|
|
Exec=@BIN@/pause off 120
|
|
|
|
[Desktop Action on]
|
|
Name=Turn Breaks Back On
|
|
Exec=@BIN@/pause on
|