An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# Burnout-detector 🧠🧑‍🚒

![](https://img.shields.io/crates/d/burnout-detector)
![](https://img.shields.io/github/issues-raw/cyrinux/burnout-detector)
![](https://img.shields.io/github/stars/cyrinux/burnout-detector)
![](https://img.shields.io/aur/version/burnout-detector-git)
![](https://img.shields.io/crates/v/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).