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
[]
# Makes this account the default one when `--account` is omitted.
#
= true
# Enables Unix socket client and server.
# Requires Unix system.
#
= "/tmp/comodoro.sock"
# Makes Unix socket the default client choice when `--protocol` is
# omitted.
#
= true
# Enables TCP client and server.
#
#tcp.host = "127.0.0.1"
= 9999
# Makes TCP the default client choice when `--protocol` is omitted.
#
#tcp.default = true
# A cycle is a step in the timer lifetime, represented by a name and a
# duration (in seconds).
#
# Example of a Pomodoro cycles:
#
= [
{ = "Work", = 1500 }, # 25 min
{ = "Rest", = 300 }, # 5 min
{ = "Work", = 1500 }, # 25 min
{ = "Rest", = 300 }, # 5 min
{ = "Work", = 1500 }, # 25 min
{ = "Long rest", = 1800 }, # 30 min
]
# Example of a 52/17 cycles:
#
#cycles = [
# { name = "Work", duration = 3120 }, # 52 min
# { name = "Rest", duration = 1020 }, # 17 min
#]
# Example of a 112/26 cycles:
#
#cycles = [
# { name = "Work", duration = 6720 }, # 112 min
# { name = "Rest", duration = 1560 }, # 26 min
#]
# Forces the timer to stop after the given amount of loops.
#
#cycles-count = 5
# Customize the timer precision.
# Available options: second, minute, hour.
#
= "minute"
# A hook can be either a shell command and/or a system notification.
#
# Hook names follow the format "on-{name}-{event}", where "name" is
# the kebab-case version of the cycle name, and "event" the type of
# event: begin, running, set, pause, resume, end.
#
#hooks.on-work-begin.command = "echo 'Work started!' >> /tmp/comodoro.log"
= "Comodoro"
= "Work started!"