Skip to content

Commit cec906b

Browse files
huangsemaonhojb
authored andcommitted
Add commands to run Endel modes and scenarios
1 parent 9082541 commit cec906b

20 files changed

+415
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Set Alarm
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
#
11+
# Optional parameters:
12+
# @raycast.icon images/endel.png
13+
# @raycast.needsConfirmation false
14+
#
15+
# Documentation:
16+
# @raycast.description Set Alarm in Endel
17+
# @raycast.author Sergey Korobyin
18+
# @raycast.authorURL https://github.com/huangsemao
19+
20+
open "endel://?type=alarm"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Deep Focus
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
#
11+
# Optional parameters:
12+
# @raycast.icon images/endel.png
13+
# @raycast.needsConfirmation false
14+
#
15+
# Documentation:
16+
# @raycast.description Set deep focus mode at Endel
17+
# @raycast.author Sergey Korobyin
18+
# @raycast.authorURL https://github.com/huangsemao
19+
20+
21+
open "endel://?type=playing_mode&value=plastikman"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Focus
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
#
11+
# Optional parameters:
12+
# @raycast.icon images/endel.png
13+
# @raycast.needsConfirmation false
14+
#
15+
# Documentation:
16+
# @raycast.description Set focus mode at Endel
17+
# @raycast.author Sergey Korobyin
18+
# @raycast.authorURL https://github.com/huangsemao
19+
20+
21+
open "endel://?type=playing_mode&value=focus"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Lullaby
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
#
11+
# Optional parameters:
12+
# @raycast.icon images/endel.png
13+
# @raycast.needsConfirmation false
14+
#
15+
# Documentation:
16+
# @raycast.description Set AI lullaby mode at Endel
17+
# @raycast.author Sergey Korobyin
18+
# @raycast.authorURL https://github.com/huangsemao
19+
20+
21+
open "endel://?type=playing_mode&value=grimes"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Recovery
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
#
11+
# Optional parameters:
12+
# @raycast.icon images/endel.png
13+
# @raycast.needsConfirmation false
14+
#
15+
# Documentation:
16+
# @raycast.description Set recovery mode at Endel
17+
# @raycast.author Sergey Korobyin
18+
# @raycast.authorURL https://github.com/huangsemao
19+
20+
21+
open "endel://?type=playing_mode&value=recovery"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Relax
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
#
11+
# Optional parameters:
12+
# @raycast.icon images/endel.png
13+
# @raycast.needsConfirmation false
14+
#
15+
# Documentation:
16+
# @raycast.description Set relax mode at Endel
17+
# @raycast.author Sergey Korobyin
18+
# @raycast.authorURL https://github.com/huangsemao
19+
20+
21+
open "endel://?type=playing_mode&value=relax"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Deep Work
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
# @raycast.argument1 { "type": "text", "placeholder": "Minutes", "percentEncoded": false}
11+
#
12+
# Optional parameters:
13+
# @raycast.icon images/endel.png
14+
# @raycast.needsConfirmation false
15+
#
16+
# Documentation:
17+
# @raycast.description Run Deep Work scenario at Endel
18+
# @raycast.author Sergey Korobyin
19+
# @raycast.authorURL https://github.com/huangsemao
20+
21+
MINUTES=$1
22+
MINUTES=$((MINUTES * 60))
23+
open "endel://?type=scenario&value=working&duration=$MINUTES"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Homework
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
# @raycast.argument1 { "type": "text", "placeholder": "Minutes", "percentEncoded": false}
11+
#
12+
# Optional parameters:
13+
# @raycast.icon images/endel.png
14+
# @raycast.needsConfirmation false
15+
#
16+
# Documentation:
17+
# @raycast.description Run Homework scenario at Endel
18+
# @raycast.author Sergey Korobyin
19+
# @raycast.authorURL https://github.com/huangsemao
20+
21+
MINUTES=$1
22+
MINUTES=$((MINUTES * 60))
23+
open "endel://?type=scenario&value=studies&duration=$MINUTES"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Meditate
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
# @raycast.argument1 { "type": "text", "placeholder": "Minutes", "percentEncoded": false}
11+
#
12+
# Optional parameters:
13+
# @raycast.icon images/endel.png
14+
# @raycast.needsConfirmation false
15+
#
16+
# Documentation:
17+
# @raycast.description Run Meditate scenario at Endel
18+
# @raycast.author Sergey Korobyin
19+
# @raycast.authorURL https://github.com/huangsemao
20+
21+
MINUTES=$1
22+
MINUTES=$((MINUTES * 60))
23+
open "endel://?type=scenario&value=meditation&duration=$MINUTES"
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
3+
# Limitation: Endel URL scheme is not final and could be changed in the future
4+
5+
# Required parameters:
6+
# @raycast.schemaVersion 1
7+
# @raycast.title Power Nap
8+
# @raycast.mode silent
9+
# @raycast.packageName Endel
10+
# @raycast.argument1 { "type": "text", "placeholder": "Minutes", "percentEncoded": false}
11+
#
12+
# Optional parameters:
13+
# @raycast.icon images/endel.png
14+
# @raycast.needsConfirmation false
15+
#
16+
# Documentation:
17+
# @raycast.description Run Power Nap scenario at Endel
18+
# @raycast.author Sergey Korobyin
19+
# @raycast.authorURL https://github.com/huangsemao
20+
21+
MINUTES=$1
22+
MINUTES=$((MINUTES * 60))
23+
open "endel://?type=scenario&value=powerNap&duration=$MINUTES"

0 commit comments

Comments
 (0)