You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- python3-pywayland (optional for KDE/other wayland)
128
+
- xprintidle (optional for X11)
129
+
- wlrctl (optional for wayland/wlroots)
128
130
- Python 3.10+
129
131
130
-
**To install Safe Eyes:**
132
+
**To install Safe Eyes from PyPI:**
131
133
132
134
```bash
133
135
sudo pip3 install safeeyes
@@ -188,7 +190,6 @@ This method has the same caveats about icons/window icons as running from source
188
190
- Smart pause if system is idle
189
191
- Multi-screen support
190
192
- Customizable user interface
191
-
- RPC API to control externally
192
193
- Command-line arguments to control the running instance
193
194
- Customizable using plug-ins
194
195
@@ -208,7 +209,12 @@ To ensure that the coding and formatting guidelines are followed, install [ruff]
208
209
209
210
To ensure that any types are correct, install [mypy](https://github.com/python/mypy) and run `mypy safeeyes`.
210
211
211
-
The last three checks are also run in CI, so a PR must pass all the tests for it to be mmerged.
212
+
To ensure that the tests still pass, install [pytest](https://docs.pytest.org/en/stable/) and run `pytest`.
213
+
214
+
The last four checks are also run in CI, so a PR must pass all the tests for it to be mmerged.
215
+
216
+
It is also possible to use dependency groups to install the needed dependencies. When using a new enough version of pip, run `pip install --group types` to install all dependencies to run the type check.
217
+
The available dependency groups can be found in the `pyproject.toml` file.
Description: Prevent eye strain with Safe Eyes – an essential screen break reminder.
14
24
Safe Eyes is a simple tool to remind you to take periodic breaks for your eyes. This is essential for anyone spending more time on the computer to avoid eye strain and other physical problems.
0 commit comments