EyeStrainReminder/README.md

25 lines
935 B
Markdown
Raw Permalink Normal View History

2019-10-20 23:04:03 +03:00
# EyeStrainReminder
2021-01-18 22:34:40 +02:00
## Install
2021-01-18 22:25:30 +02:00
A small background tool for reminding the user of the "20-20-20" rule. Uses system notifications and sound cues. Made primarily for GNU/Linux, but should theoretically work with other environments.
2019-10-21 00:14:56 +03:00
2019-10-22 14:43:20 +03:00
First, you might need these packages:
2019-10-21 00:14:56 +03:00
```
2019-10-24 16:12:32 +03:00
sudo apt-get install python-gobject libnotify-bin python-gst-1.0
2019-10-22 14:43:20 +03:00
```
2021-01-18 22:25:30 +02:00
Second, install the tool and required [Python modules](setup.py) by cloning the repository and running these lines, optionally with the --user flag:
2019-10-22 14:43:20 +03:00
```
2019-10-23 10:52:39 +03:00
cd EyeStrainReminder
2021-01-18 22:25:30 +02:00
python3 -m pip install .
2019-10-23 10:52:39 +03:00
```
2021-01-18 22:25:30 +02:00
Launch or set it to run from boot as:
2019-10-23 10:52:39 +03:00
```
$ eyestrainreminder
2019-10-22 14:43:20 +03:00
```
2021-01-18 22:25:30 +02:00
Optional parameters can be viewed through "$ eyestrainreminder -h". In short, it's possible to set a custom notification sounds, mute the notification sounds, turn off notifications by default and invert the tray icon colors.
2021-01-18 22:34:40 +02:00
## Uninstall
2021-01-18 22:25:30 +02:00
For removal of the software run:
2019-10-22 14:43:20 +03:00
```
2021-01-18 22:25:30 +02:00
python3 -m pip uninstall EyeStrainReminder
2019-10-21 00:14:56 +03:00
```