generated from silverbulletmd/silverbullet-plug-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpomodoro.plug.yaml
42 lines (40 loc) · 962 Bytes
/
pomodoro.plug.yaml
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
name: pomodoro
version: 0.1
assets:
- "assets/**/*.*"
functions:
# API for panel
stateChange:
path: pomodoro.ts:stateChange
initializePlug:
path: "pomodoro.ts:initializePlug"
events:
- editor:init
- editor:pageLoaded
# User facing
togglePomodoroPanel:
path: pomodoro.ts:togglePomodoroPanel
command:
name: "🍅 Pomodoro: Toggle Panel"
key: ctrl-alt-z
mac: cmd-alt-z
chooseTask:
path: pomodoro.ts:chooseTask
command:
name: "🍅 Pomodoro: Choose Task"
key: ctrl-alt-c
mac: cmd-alt-c
toggleTimer:
path: pomodoro.ts:toggleTimer
command:
name: "🍅 Pomodoro: Toggle Timer"
key: ctrl-alt-x
mac: cmd-alt-x
resetTimer:
path: pomodoro.ts:resetTimer
command:
name: "🍅 Pomodoro: Reset Timer"
skipTimer:
path: pomodoro.ts:skipTimer
command:
name: "🍅 Pomodoro: Skip Timer"