This repository has been archived by the owner on Nov 10, 2020. It is now read-only.
/
prefs.json
135 lines (135 loc) · 3.37 KB
/
prefs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"format": [
"{'good morning!'!c}",
"{today()!lc}",
"{align(left=now_hm(), right=iso_date())}", "{hrule()}",
"{forecast()!c}",
"{conditions()!lc}",
"{sun()}",
"{moon()!c}", "{thinhrule()}",
"{'tomorrow: ' + tmrw_forecast()!c}",
"{tmrw_conditions()!lc}", "{hrule()}",
"{weather_graph()}", "{hrule()}",
"{homework()}", "{thinhrule()}",
"{classes()}", "{thinhrule()}",
"{todo()}", "{thinhrule()}",
"{events()}", "{thinhrule()}",
"{countdown()}", "{hrule()}",
"{headlines(news.nytimes('US'))}",
"{headlines(news.nytimes('World'), amount=2)}",
"{headline(news.reuters('technologynews'))}",
"{hrule()}",
"{twitter('IGD_News')}", "{hrule()}",
"{twitter('dril')}", "{hrule()}",
"\n\n\n\n"
],
"google": {
"scopes": [
"https://www.googleapis.com/auth/calendar.readonly",
"https://www.googleapis.com/auth/urlshortener"
],
"client_secret_path": "google_client_secrets.json",
"credential_path": "google_credentials.json"
},
"app_name": "the daily report",
"api_keys": "keys.json",
"width": 40,
"horiz": "═",
"horiz_light": "─",
"vert": "║",
"vert_light": "│",
"paragraph_joiner": "\n\n",
"max_retries": 3,
"weather": {
"location": "ma/waltham",
"height": 6,
"chars": {
"precip": "·",
"temp": "×",
"both": "¤"
},
"forecast_format": "{low}-{high}°F, {precip}%p",
"moon": {
"bright_graphic": "○",
"dark_graphic": "●",
"format": "{graphic} {phase} @ {percent}%"
},
"sun": {
"rise_format": "{sunrise} ↑",
"set_format": "{sunset} ↓",
"daylight_format": "{daylight}",
"format": "{align(sunrise, daylight, sunset)}"
},
"temp": "fahrenheit"
},
"dates": {
"today_format": "today is %A, %b %d",
"hours": 12,
"all_day": "all day",
"ending": "→{time}"
},
"calendar": {
"todo_pat": "to.?do",
"countdown_pat": "count.?downs?",
"work_pat": ".*work.*",
"class_pat": ".*class(es)?.*",
"todo_check": "[] ",
"max_countdowns": 10
},
"maze": {
"height": 10,
"style": "random",
"halves": false,
"start": "S",
"end": "E"
},
"twitter": {
"pretty_text_format": "@{user['screen_name']}: {text}",
"format": [
"{pretty_text}",
"{thinhrule()}",
"{favorite_count} likes, {retweet_count} rts",
"{format(date, '%Y-%m-%d %I:%M:%S%p')}"
],
"bot_format": [
"@{user['screen_name']}", "{text}"
]
},
"wikipedia": {
"format": [
"{fill(title)}",
"{thinhrule()}",
"{fill(first)}"
]
},
"news": {
"format": [
"{format_left(f'{title} ⟨{short_url}⟩',",
"firstline='→ ').rstrip()}"
]
},
"stocks": {
"format": [
"{align(Symbol, f'{\"\" if PercentChange is None else format(PercentChange, \" ,.2f\")}%'.ljust(8),",
"f'{\"\" if LastTradePriceOnly is None else format(LastTradePriceOnly, \",.2f\")}{Currency}')}"
],
"section_end_format": "{default()}\n{thinhrule()}",
"source": "yahoo",
"symbols": [
{ "symbol": "^GSPC", "display_symbol": "S&P 500"},
{ "symbol": "^VIX", "display_symbol": "VIX"},
{ "symbol": "^IXIC", "display_symbol": "NASDAQ"},
{ "symbol": "CL=F", "display_symbol": "Oil"},
{ "symbol": "GC=F", "display_symbol": "Gold",
"style": "section_end" }, "AMZN",
"GDX", "MSFT", "RDS-A", "FB", "GOOGL", "TWTR", "AAPL",
"TSLA"
],
"excluded_currencies": ["USD"]
},
"myhomework": {
"base_url": "https://myhomeworkapp.com/",
"check": "[] ",
"assignment_format": "{name} ({class_name}, {iso_date(due)})"
}
}