https://github.com/cyrinux/burnout-detector
This is a waybar toy aims to detect your activity and invite you to take a break.
https://github.com/cyrinux/burnout-detector
burnout desktop desktop-application desktop-notifications hyprland idle linux notify-send swaywm waybar
Last synced: 3 months ago
JSON representation
This is a waybar toy aims to detect your activity and invite you to take a break.
- Host: GitHub
- URL: https://github.com/cyrinux/burnout-detector
- Owner: cyrinux
- License: isc
- Created: 2023-03-05T08:59:46.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-20T12:11:54.000Z (over 2 years ago)
- Last Synced: 2025-09-05T03:37:24.515Z (9 months ago)
- Topics: burnout, desktop, desktop-application, desktop-notifications, hyprland, idle, linux, notify-send, swaywm, waybar
- Language: Rust
- Homepage:
- Size: 63.5 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Burnout-detector 🧠🧑🚒





This toy aim to detect your idle activity and invite you to take a break and do some gymnastics.
---
**Disclaimer**
This gadget is not able to detect a real burnout! Please take care of yourself.
---
This is compatible with _waybar_ as a custom module, run it with the `--waybar` parameter to micmic the [waybar-eyes](https://github.com/cyrinux/waybar-eyes) module.
It will display an eye per 5min and will notify you by popup when the max eyes number is reach.
## Configuration
### Waybar
~/.config/waybar/config
```
...
"custom/burnout-detector": {
"exec": "burnout-detector --waybar --max-active-sessions 3",
"return-type": "json",
},
...
```
There is also 3 class you can use `ok`, `warning` and `critical`.
### Resources
The exercices are inspired (copied actually) from the [SafeEyes project](https://github.com/slgobinath/SafeEyes/blob/master/safeeyes/config/safeeyes.json#L20).