Skip to main content

Work break reminder

Project description

# HealthyWork
生活不止有屏幕上的代码,还有诗和远方.
这是一款基于Python语言和PyQt图形化框架编写的桌面应用,用来提醒正在电脑前工作的人们注意休息,以保障身体健康。

## Features
- 防颈椎病
- 防腰间盘突出
- 防痔疮
- 防心脏病
- 自定义壁纸
- 自定义时间
- 本地音乐播放
- 全屏显示,窗口置顶
- 界面简约(编不下去了)
- 你值得拥有

![截图](https://github.com/1zlab/HealthyWork/blob/master/Screenshot.png)
![截图](https://github.com/1zlab/HealthyWork/blob/master/Screenshot_2.png)
## Dependence
- python3
- PyQt5


## Install
```sh
pip install healthywork
```

## How to work
```sh
healthywork
```
## Custom

初次运行会在用户目录下的.config文件夹中创建healthywork.json文件,存储程序基本的配置,你可以自行修改一下的所有选项:


```pytho
DEFALUT_CONFIG = {
'label_stylesheet': "color: rgb(255, 0, 127);font: 30pt \"WenQuanYi Micro Hei Mono\";",
'button_stylesheet': "background-color: rgba(182, 176, 171, 90);color: rgb(255, 0, 127);font: 30pt \"WenQuanYi Micro Hei Mono\";",
'message': "喝杯水休息一下吧",
'count': " ",
'time_work': "1800000",
'time_rest': "300000",
'wallpapers_dir': "./wallpapers",
'music_dir': "./music",
'with_music': "1"
}
```

- label_stylesheet: 界面上标签的样式
- button_stylesheet:界面上按钮的样式
- message:提醒的文字
- count:给倒计时标签占位用的,方便计算label的位置
- time_work: 工作时间间隔,单位毫秒,默认半小时
- time_rest: 休息时间间隔,单位毫秒,默认五分钟
- wallpapers_dir: 存放壁纸的目录,默认为当前的wallpapers目录
- music_dir: 存放音频的目录,默认为当前的music目录
- with_music: 休息时是否播放音乐,1为播放,0为不播放。默认播放。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

healthywork-1.6.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file healthywork-1.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for healthywork-1.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 389b48c4dc54fe928b384853b70f130c31509972299c036296faaf90f0aebf05
MD5 0e19e0feec2c07bd00a5dc81c14b477c
BLAKE2b-256 59f516d0fba21d7672ed31cb31413ac8847ef78c5fe88cde1b773f0c39a65a06

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page