Files
2026-02-21 08:54:28 +08:00

89 lines
2.5 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ══════════════════════════════════════════════
# 健康守护助手 · 全局配置
# ══════════════════════════════════════════════
[settings]
# 日志文件保存目录(留空则使用系统默认目录)
# macOS: ~/Library/Application Support/health-guardian/
# Linux: ~/.local/share/health-guardian/
# Windows: C:\Users\<你>\AppData\Local\health-guardian\
log_dir = "./logs"
# 提醒音频文件路径(支持 .wav / .mp3
# 留空则播放内置合成蜂鸣声(三声,每声 0.5s
sound_file = ""
# 示例(取消注释以启用):
# log_dir = "/Users/yourname/Documents/health-logs"
# sound_file = "/Users/yourname/sounds/reminder.wav"
# ══════════════════════════════════════════════
# 任务列表
# ══════════════════════════════════════════════
[[tasks]]
name = "起立活动"
title = "🧍 起立时间到!"
body = "你已久坐 1 小时,请起立活动 5 分钟,做做肩颈伸展。"
initial_delay_minutes = 60
sound = true
[tasks.interval]
unit = "hours"
value = 1
[[tasks]]
name = "补水提醒"
title = "💧 喝水时间到!"
body = "请喝一杯温水(约 200ml保持良好的水分摄入。"
initial_delay_minutes = 30
sound = true
[tasks.interval]
unit = "minutes"
value = 30
[[tasks]]
name = "眼部放松"
title = "👁️ 远眺放松眼睛!"
body = "看向 20 英尺外的物体,持续 20 秒,保护视力。"
initial_delay_minutes = 20
sound = true
[tasks.interval]
unit = "minutes"
value = 20
[[tasks]]
name = "深呼吸"
title = "🌬️ 深呼吸练习"
body = "吸气 4 秒 → 屏气 4 秒 → 呼气 6 秒,重复 3 次。"
initial_delay_minutes = 120
sound = true
[tasks.interval]
unit = "hours"
value = 2
[[tasks]]
name = "手部拉伸"
title = "🤲 手部拉伸时间"
body = "握拳展开 10 次,顺逆时针旋转手腕各 10 次。"
initial_delay_minutes = 90
sound = false
[tasks.interval]
unit = "hours"
value = 2
#
#[[tasks]]
#name = "测试"
#title = "To Test"
#body = "曹操"
#initial_delay_minutes = 1
#sound = true
# [tasks.interval]
# unit = "minutes"
# value = 1