-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
230 lines (199 loc) · 6.89 KB
/
config.example.yaml
File metadata and controls
230 lines (199 loc) · 6.89 KB
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
# tsk - Calendar CLI Configuration
# Copy to: ~/.config/tsk/config.yaml
# ─────────────────────────────────────────────────
# Default Profile
# ─────────────────────────────────────────────────
default_profile: work
# ─────────────────────────────────────────────────
# UI Settings (for `tsk ui`)
# ─────────────────────────────────────────────────
ui:
# split: side # "side" (side-by-side) or "stack" (top/bottom)
# # Can also be toggled at runtime with 's'
# list_percent: 0 # List panel size as a percentage (10-90)
# # 0 = auto (responsive based on terminal width)
# # In side split: controls width ratio
# # In stack split: controls height ratio
# ─────────────────────────────────────────────────
# Profiles
# ─────────────────────────────────────────────────
# Each profile is a complete configuration:
# - Provider: "google" or "outlook"
# - Provider-specific auth credentials
# - What filters to apply
# - What fields to display
#
# Use with: tsk -p work or tsk --profile today
profiles:
# ─────────────────────────────────────────────
# Google Calendar profiles
# ─────────────────────────────────────────────
# Full work calendar view (Google)
work:
provider: google # "google" or "outlook"
# Google account credentials
credentials_file: ~/.config/tsk/work_credentials.json
token_file: ~/.config/tsk/work_token.json
primary_calendar: "user@company.com"
# Calendar filter (comma-separated, empty = all calendars)
# calendars: "user@company.com,Team Calendar"
# Date range (use days OR from/to)
days: 14 # Next 14 days from now
# from: "monday" # Or use explicit date range
# to: "friday" # Supports: YYYY-MM-DD, today, tomorrow, weekday names
# Filters
smart_ooo: true
subscribed: true
ooo: true
focus: false
workloc: false
accepted: true
no_allday: false
# Display options (all fields shown by default)
display:
calendar: true
time: true
location: true
meeting_link: true
description: true
status: true
event_url: true
attachments: false
id: false
in_progress: true
# Same work account - just today's meetings (minimal display)
today:
credentials_file: ~/.config/tsk/work_credentials.json
token_file: ~/.config/tsk/work_token.json
primary_calendar: "user@company.com"
# Filters - focused view
days: 1
smart_ooo: true
subscribed: false
ooo: false
no_allday: true
accepted: true
# Minimal display - just what you need
display:
calendar: false # Skip calendar name
time: true
location: false
meeting_link: true # Quick join link
description: false # Skip descriptions
status: false # Skip response status
event_url: false # Skip event links
attachments: false
id: false
in_progress: true
# Same work account - only actual meetings
meetings:
credentials_file: ~/.config/tsk/work_credentials.json
token_file: ~/.config/tsk/work_token.json
primary_calendar: "user@company.com"
# Filter to real meetings only
days: 7
ooo: false
focus: false
workloc: false
no_allday: true
subscribed: false
accepted: true
# Show meeting-relevant fields
display:
calendar: true
time: true
location: true
meeting_link: true
description: true
status: true
event_url: false
attachments: true
id: false
in_progress: true
# Primary calendar only - no subscribed calendars
primary_only:
credentials_file: ~/.config/tsk/work_credentials.json
token_file: ~/.config/tsk/work_token.json
primary_calendar: "user@company.com"
# Only show events from primary calendar
calendars: "user@company.com"
days: 7
smart_ooo: true
ooo: true
accepted: true
# This week only - using date range
thisweek:
credentials_file: ~/.config/tsk/work_credentials.json
token_file: ~/.config/tsk/work_token.json
primary_calendar: "user@company.com"
# Date range: Monday to Friday
from: "monday"
to: "friday"
smart_ooo: true
no_allday: true
accepted: true
display:
calendar: true
time: true
location: false
meeting_link: true
description: false
status: false
event_url: false
attachments: false
id: false
in_progress: true
# ─────────────────────────────────────────────
# Outlook / Office 365 profiles
# ─────────────────────────────────────────────
# Full Outlook calendar view
outlook_work:
provider: outlook
# Azure AD app registration
client_id: "your-azure-app-client-id"
tenant_id: "common" # "common" for any Microsoft account,
# or your org tenant ID for single-tenant
token_file: ~/.config/tsk/outlook_token.json
# primary_calendar: "Calendar" # Outlook default calendar name
days: 14
smart_ooo: true
subscribed: true
ooo: true
focus: false
workloc: false
accepted: true
no_allday: false
display:
calendar: true
time: true
location: true
meeting_link: true
description: true
status: true
event_url: true
attachments: false
id: false
in_progress: true
# Outlook — today's meetings only
outlook_today:
provider: outlook
client_id: "your-azure-app-client-id"
tenant_id: "common"
token_file: ~/.config/tsk/outlook_token.json
days: 1
smart_ooo: true
subscribed: false
ooo: false
no_allday: true
accepted: true
display:
calendar: false
time: true
location: false
meeting_link: true
description: false
status: false
event_url: false
attachments: false
id: false
in_progress: true