-
Notifications
You must be signed in to change notification settings - Fork 2
/
.thymerc
30 lines (30 loc) · 1.46 KB
/
.thymerc
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
# timer: 400
# timer_break: 60
color_warning: "yellow"
color_break: "bright blue"
status_override: false
options:
quit:
flag: "-q"
flag_long: "--quit"
description: "Quit thymer, turn off focus mode"
command: "shortcuts run 'Set Focus Off'; thyme --stop; terminal-notifier -remove ALL; tmux refresh-client -S"
hooks:
before_all:
events: "before_all"
command: "shortcuts run 'Set Focus On'"
before:
events: "before"
command: "terminal-notifier -title 'Thymer' -message 'Start timer.' -ignoreDnD -sender com.apple.Finder; tmux refresh-client -S; echo `date -u +'%Y-%m-%d %H:%M:%S'` > $HOME/iCloud/Docs/data/thyme.start"
after:
events: "after"
command: "shortcuts run 'Set Focus Off'; terminal-notifier -sound default -title 'Thymer' -message 'Time is up!' -ignoreDnd -sender com.apple.Finder; tmux refresh-client -S; echo \"`cat $HOME/iCloud/Docs/data/thyme.start`\",\"`date -u '+%Y-%m-%d %H:%M:%S'`\" >> $HOME/iCloud/Docs/data/pomos.csv"
after_all:
events: "after_all"
command: "shortcuts run 'Set Focus Off'; terminal-notifier -remove ALL"
before_break:
events: "before_break"
command: "terminal-notifier -title 'Thymer' -message 'Start break.' -sound submarine -ignoreDnD -sender com.apple.Finder; tmux refresh-client -S"
after_break:
events: "after_break"
command: "shortcuts run 'Set Focus On'; terminal-notifier -title 'Thymer' -message 'Break done.' -ignoreDnD -sender com.apple.Finder; tmux refresh-client -S"