Files
RhythmicWallpaper/AudioVisualizer/ActivityWatch/ActivityAnalyzerConfig.cs

33 lines
1.3 KiB
C#

namespace AudioWallpaper.ActivityWatch {
public class ActivityAnalyzerConfig {
public int TimeSliceMinutes { get; set; } = 5;
public double MinDuration { get; set; } = 0.1;
public string Timezone { get; set; } = "Asia/Shanghai";
public List<string> WorkKeywords { get; set; } = new List<string>
{
"work", "code", "develop", "programming", "research",
"writing", "study", "test", "开发", "编程", "测试", "脚本", "分析", "pycharm"
};
public List<string> DistractionKeywords { get; set; } = new List<string>
{
"social", "media", "video", "game", "shopping",
"news", "娱乐", "视频", "购物", "游戏", "聊天", "微博"
};
public List<string> ExcludedApps { get; set; } = new List<string>
{
"explorer.exe", "StartMenuExperienceHost.exe", "SearchApp.exe"
};
public List<string> ExcludedTitles { get; set; } = new List<string>
{
"任务切换", "任务管理器"
};
public bool OutputVerbose { get; set; } = true;
public Dictionary<string, double> FocusThresholds { get; set; } = new Dictionary<string, double>
{
{ "高专注", 0.75 },
{ "中专注", 0.5 },
{ "低专注", 0.0 }
};
}
}