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
Release v3.0.0b1 [BETA RELEASE]
* Update to GTK4
* Improved Wayland support (keyboard locking, idle detection, window icons,
fullscreen)
* Internal refactoring (linting, formatting, typechecking on CI)
* Improved handling of custom user stylesheets: always fall back to internal
styles, with a lower priority
* Translations
Copy file name to clipboardExpand all lines: README.md
+24-9Lines changed: 24 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,14 +79,13 @@ sudo apt-get install safeeyes
79
79
```
80
80
81
81
### Fedora
82
-
If you want to use Smart Pause plugin, install the latest xprintidle from: [alonid/xprintidle](https://copr.fedorainfracloud.org/coprs/alonid/xprintidle/)
82
+
Available on the [praiskup/safeeyes](https://copr.fedorainfracloud.org/coprs/praiskup/safeeyes/) COPR maintained by @praiksup
We are looking for an official package maintainer for Fedora. Please [contact us](https://github.com/slgobinath/SafeEyes/issues/611) if you are interested.
88
+
For smart pause plugin, you may have to install the latest xprintidle from: [alonid/xprintidle](https://copr.fedorainfracloud.org/coprs/alonid/xprintidle/)
90
89
91
90
### OpenSUSE Tumbleweed
92
91
@@ -101,6 +100,13 @@ sudo zypper install safeeyes
101
100
sudo apk add safeeyes
102
101
```
103
102
103
+
### Chrome OS
104
+
[Enable the Linux container](https://support.google.com/chromebook/answer/9145439?hl=en) (which is actually Debian), and install Safe Eyes with
105
+
```
106
+
sudo apt install safeeyes
107
+
```
108
+
While no tray icon is available, if you run the app, it will function in the background and will show breaks as usual. You can also change the settings by clicking on the Safe Eyes icon from the menu while the app is running, or by running the command `safeeyes -s`.
109
+
104
110
### Flatpak
105
111
**Warning**: Many plugins and features don't work well in the flatpak. We recommend that you use one of the native packages listed above. Flatpak-only bugs should be reported at https://github.com/flathub/io.github.slgobinath.SafeEyes.
106
112
```bash
@@ -139,6 +145,8 @@ python3 -m safeeyes
139
145
140
146
Safe Eyes installers install the required icons to `/usr/share/icons/hicolor`. When you run Safe Eyes from source without, some icons may not appear.
141
147
148
+
Note that on Wayland, this may still not be enough to get window icons working properly, as Wayland requires the .desktop file to match the running application, which is hard to do when running from source. If at all possible, prefer using an installed package.
149
+
142
150
143
151
### Install in a virtual environment
144
152
@@ -170,6 +178,8 @@ Some Linux systems like CentOS do not have matching dependencies available in th
170
178
171
179
For more details, please check the issue: [#329](https://github.com/slgobinath/SafeEyes/issues/329)
172
180
181
+
This method has the same caveats about icons/window icons as running from source.
182
+
173
183
## Features
174
184
175
185
- Remind you to take breaks with exercises to reduce RSI
@@ -194,15 +204,20 @@ Examples for translatable strings are `_("This is a string")` in Python code, or
194
204
195
205
To ensure the new strings are well-formed, you can use `python validate_po.py --validate`.
196
206
207
+
To ensure that the coding and formatting guidelines are followed, install [ruff](https://docs.astral.sh/ruff/) and run `ruff check` and `ruff format --check` to check for issues, as well as `ruff check --fix` and `ruff format` to autofix them.
208
+
209
+
To ensure that any types are correct, install [mypy](https://github.com/python/mypy) and run `mypy safeeyes`.
210
+
211
+
The last three checks are also run in CI, so a PR must pass all the tests for it to be mmerged.
212
+
197
213
## How to Release?
198
214
199
215
0. Run `update-po.sh` to generate new translation files (which will be eventually updated by translators). Commit and push the changes to the master branch.
200
216
1. Checkout the latest commits from the `master` branch
201
217
2. Run `python3 -m safeeyes` to make sure nothing is broken
202
218
3. Update the Safe Eyes version in the following places (Open the project in VSCode and search for the current version):
0 commit comments