Mac提醒休息软件Stretchly(很好用)

github地址: https://github.com/hovancik/stretchly
安装就不介绍了,他的自定义时间目前还是有点麻烦,介绍一下。
配置文件是

~/Library/Application Support/stretchly

下的

config.json

打开来之后前面几行是这样的

{
    "_comment1": "micro break时长,单位ms",
    "microbreakDuration": 20000,
    "_comment2": "microbreak 间隔",
    "microbreakInterval": 600000,
    "_comment3": "break时长, 300秒, 5分钟",
    "breakDuration": 300000,
    "_comment4": "设置几个microbreak之后大break",
    "breakInterval": 10,
    "breakNotification": true,
    "microbreakNotification": true,
    "_comment5": "break 前30s 提醒 ",
    "breakNotificationInterval": 30000,
    "microbreakNotificationInterval": 10000,
    "microbreak": false,
    "break": true,
    "microbreakStrictMode": false,
    "breakStrictMode": false,
    "mainColor": "#478484",
    "audio": "crystal-glass",
    "fullscreen": false,
    "ideas": false,
    "naturalBreaks": true,
    "useIdeasFromSettings": false,

我自己加了中文注释在里面,主要就是修改那些数字就可以修改设置了,单位是毫秒。那些中文注释行加进json文件里没有影响的。
BTW: atom, sublime这些软件都可以很方便修改json


更新
如果感觉stretchly在后台经常睡眠的话,把json里的"naturalBreaks": true,改为false。
另外
根据这个帖子 (http://hints.macworld.com/article.php?story=20110617204111325) 可以让stretchly保持后台运行。

posted @ 2018-03-05 06:43  Chan7  阅读(1618)  评论(0编辑  收藏  举报