Compare commits
14 Commits
main
..
0e29953c0f
| Author | SHA1 | Date | |
|---|---|---|---|
| 0e29953c0f | |||
| 2efa36bfeb | |||
| d32c03164f | |||
| 8933a6cced | |||
| b475718a99 | |||
| 8cc44fdc90 | |||
| 7275c0e0e6 | |||
| fdf782a858 | |||
| f4df17e9bd | |||
| 4e32d6179a | |||
| c5fff116e6 | |||
| bc53de378d | |||
| e07a7f0181 | |||
| ee5ee30656 |
@@ -4,14 +4,13 @@ A fully automated break timer for wlroots-based desktop environments (SwayWM, et
|
||||
|
||||
## Features
|
||||
|
||||
- **Zero user interaction required** - Automatically tracks work/break cycles.
|
||||
- **Dual break timers** - Independent short breaks (20m work → 20s break) and long breaks (45m work → 5m break).
|
||||
- **Automatic idle detection** - Uses swayidle to detect when you're away from the computer.
|
||||
- **Pause/Unpause** - Manually pause the timer when needed (paused time doesn't count toward work duration).
|
||||
- **Self-managing log** - Automatically trims old events to keep log size minimal.
|
||||
- **Waybar integration** - Shows countdown timers in your status bar with context menu.
|
||||
- **No dependencies** - Only requires Python 3 (pre-installed on most Linux systems).
|
||||
- **No daemon process** - Swaylock is the only long-running process. Other scripts are executed to modify or read the log file.
|
||||
- **Zero user interaction required** - Automatically tracks work/break cycles
|
||||
- **Dual break timers** - Independent short breaks (20m work → 20s break) and long breaks (45m work → 5m break)
|
||||
- **Automatic idle detection** - Uses swayidle to detect when you're away from the computer
|
||||
- **Pause/Unpause** - Manually pause the timer when needed (paused time doesn't count toward work duration)
|
||||
- **Self-managing log** - Automatically trims old events to keep log size minimal
|
||||
- **Waybar integration** - Shows countdown timers in your status bar with context menu
|
||||
- **No dependencies** - Only requires Python 3 (pre-installed on most Linux systems)
|
||||
|
||||
## How It Works
|
||||
|
||||
@@ -71,8 +70,7 @@ A fully automated break timer for wlroots-based desktop environments (SwayWM, et
|
||||
"menu": "on-click",
|
||||
"menu-file": "/path/to/menu.xml",
|
||||
"menu-actions": {
|
||||
"skip-long": "break-event skip_long",
|
||||
"toggle-pause": "break-event toggle-pause"
|
||||
"skip-long": "break-event skip_long"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -205,12 +203,6 @@ Right-click the break timer widget in Waybar to access the context menu:
|
||||
└──────────────────────┘
|
||||
```
|
||||
|
||||
## Similar Projects
|
||||
|
||||
- [Workrave](https://workrave.org/) - The original, and a great app, but does not have very robust Wayland support at the time this tool was created.
|
||||
- [BreakTimer](https://breaktimer.app/) - Very nice interface, but only supports a single timer.
|
||||
- [ianny](https://github.com/zefr0x/ianny) - Supports Wayland, but otherwise I have not explored deeply.
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
||||
Public domain - use however you like!
|
||||
|
||||
Reference in New Issue
Block a user