#break #eyes #relax

app eyesbreaker

Relax your eyes and take a break

1 unstable release

new 0.1.2 Dec 12, 2024

#131 in GUI

Download history 142/week @ 2024-12-09

142 downloads per month

MIT license

29KB
206 lines

Eyesbreaker

A small toy project to prevent you from staring at the screen for too long. It will create a system tray icon, where the icon will light up (turn green) after a given time, prompting you to stand up, stretch, and relax your eyes.

一个玩具小项目,让你不要长时间盯着屏幕。它会创建一个系统托盘图标,在给定时间后图标会亮起(变为绿色),此时请站起来活动活动,放松一下眼睛。

Only tested on windows. If you are using Linux, please try safeeyes.

该应用主要支持 windows 平台。在 Linux 下,你可以使用 safeeyes

Usage

Moving the mouse over the tray icon will reset the timer when it's green. At any time, left click the tray icon will reset the timer, right click will exit the program. Hover the mouse over the icon to view the remaining time.

计时结束后将鼠标移动到托盘上,以重置计时器;在任意时刻左击重置计时器,右击图标以退出程序;将鼠标悬停在图标上以查看剩余时间。

Installation

  • use cargo-binstall:
    cargo binstall eyesbreaker
    
  • use bpm:
    bpm i https://github.com/lxl66566/eyesbreaker
    
  • manual: download binary from release
  • compile from source:
    cargo install eyesbreaker
    

Usage

Usage: eyesbreaker.exe [OPTIONS]

Options:
  -t, --time <TIME>  Count down time (in seconds) [default: 1800]
  -h, --help         Print help
  -V, --version      Print version

Additional

If you need start this program automatically on boot, please use user-startup-py.

如果你需要开机自启,可以看看 user-startup-rs

Dependencies

~25–45MB
~787K SLoC