-
Notifications
You must be signed in to change notification settings - Fork 1
/
icalgit.toml
63 lines (52 loc) · 2.14 KB
/
icalgit.toml
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
# Specifies the timezone for the notifications. Both icalendar timezone and config timezone will be shown in the notification message
timezone = "Europe/Berlin"
# Defines the interval at which the daemon checks for new events
tick = "24h"
# A list of alarm configurations. Each alarm specifies the type and when it should trigger.
# The `when` field uses the ISO 8601 duration format to specify the time before the event when the alarm should trigger.
# Example:
# - `-P7D`: 7 days before the event
# - `-P1D`: 1 day before the event
# - `-PT1H`: 1 hour before the event
# - `-PT30M`: 30 minutes before the event
# - `-P1DT12H`: 1 day and 12 hours before the event
alarms = [
{type = "desktop", when = "-P7D"},
{type = "desktop", when = "-P1D"},
{type = "desktop", when = "-PT1H"},
{type = "telegram", when = "-P7D"},
{type = "telegram", when = "-P1D"},
{type = "telegram", when = "-PT1H"},
#{type = "desktop", when = "-P2DT22H49M"},
]
# images
# If the key is present in the ATTACH line of the calendar, the URL value here is used.
# Example:
# ATTACH;FMTTYPE=image/jpeg:birthday.jpg
# The resulting URL selected would be "https://example.com/example.jpg"
# base64 strings are supported
images = [
{name = "image1.jpg", value = "https://example.com/image1.jpg"},
{name = "image2.jpg", value = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACklEQVR4nGMAAQAABQABDQottAAAAABJRU5ErkJggg=="},
]
# A list of notifier types that are enabled
#notifiers = ["telegram", "desktop"]
notifiers = ["desktop"]
# Specifies the git repository data
# If private_key_path not empty, this fetcher is selected
[fetcher_git]
#url = "git@mygit-repo.com:me/myrepo.git"
#private_key_path = "/home/path/to/key"
# Specifies the directory where the iCal files are stored
[fetcher_filesystem]
directory = "testdata"
# Configuration for the Telegram notifier
[notifier_telegram]
# The API token for the Telegram bot
token = "yuu3b3k"
# The chat ID to which the notifications will be sent
chat_id = 588488
# Configuration for the Desktop notifier
[notifier_desktop]
# The path to the icon file used for desktop notifications
icon = "/usr/share/icons/hicolor/48x48/apps/filezilla.png"