I created Pomododo after not finding what I wanted for free in either app form or shortcut form. This shortcut creates a simple 25/5 with four rounds pomodoro in the reminders app. If you'd like to customize the pomodoro, instructions are provided in the shortcut edit screen. You just set it and forget it, letting you be able to work freely without any distractions.
Novedades
Versión 1.0
First release
Qué hace
73 acciones-
Comment🗻 Introduction Pomododo is meant to be a simple, “set and forget” pomodoro shortcut utilizing the Reminders app. By default the shortcut provides a 24/5 pomodoro that repeats four times. If you want to customize this shortcut, instructions are prov…
-
CommentSet up below! 🦤
-
CommentMake sure to delete this notification by pressing the x on the first white bubble once you are used to this shortcut!
-
Choose from MenuFirst time using Pomododo?
-
Choose from MenuPlease stop this shortcut by pressing the bottom of the screen.
-
Choose from MenuThen hold and press edit in the shortcut menu to read the introduction.
-
CommentInsert how long you want to work next to the hashtag
-
Number
-
Set Variablework
-
CommentInsert how long you want to take a break next to the hashtag
-
Number
-
Set Variablebreak
-
CommentInsert how many rounds you want to do next to the hashtag
-
Number
-
Set Variablerounds
-
CommentIf you want to warm up before working, insert a number next to the hashtag. Note: The warmup time must be in seconds, use a converter like this one to adjust (https://www.calculateme.com/time/seconds/to-minutes/)
-
Number
-
Set Variablewarm
-
CommentChange wording for the warm up notification in the “Text” bubble
-
Text
-
Set Variablewarm-notif
-
CommentIf you want a long break after the four rounds, insert a number next to the hashtag. Right now the timer is set to send a congradulations message after 5 seconds, so make sure to change the message in the “Text” bubble as well.
-
Number
-
Set Variablelong
-
Text
-
Set Variablelong-notif
-
Comment⚠️ no touching below! ⚠️
-
Commenttime
-
Date
-
Set Variabletime
-
Commentcreate new list
-
Choose from MenuDo you want to create a new list for your pomodoro?
-
Choose from MenuYes
-
T T R Create Listcom.apple.reminders
-
Commentstart
-
Reminders Showlist
-
Adjust Date
-
Set Variabletime
-
Show NotificationStarting in ……
-
Add New Reminder
-
Commentrepeat
-
Number
-
Repeat
-
Adjust Date
-
Set Variabletime
-
Add New Reminder
-
Adjust Date
-
Set Variabletime
-
Add New Reminder
-
Adjust Date
-
Set Variabletime
-
Add New Reminder
-
Commentno custom list
-
Choose from MenuNo
-
Commentstart
-
Show Alert
-
T T R Open Smart Listcom.apple.reminders
-
Show NotificationStarting in ……
-
Adjust Date
-
Set Variabletime
-
Add New Reminder
-
Commentrepeat
-
Number
-
Repeat
-
Adjust Date
-
Set Variabletime
-
Add New Reminder
-
Adjust Date
-
Set Variabletime
-
Add New Reminder
-
Adjust Date
-
Set Variabletime
-
Add New Reminder
Ver como código
Todas las acciones de este atajo escritas en Cherri, un lenguaje de programación para Atajos. Ideal para aprender cómo funciona.
#include 'actions/calendar'
#define color darkorange
#define glyph mountain
/*
🗻 Introduction
Pomododo is meant to be a simple, “set and forget” pomodoro shortcut utilizing the Reminders app. By default the shortcut provides a 24/5 pomodoro that repeats four times. If you want to customize this shortcut, instructions are provided below. Have fun with Pomododo!
*/
// Set up below! 🦤
// Make sure to delete this notification by pressing the x on the first white bubble once you are used to this shortcut!
menu "First time using Pomododo?" {
item "Please stop this shortcut by pressing the bottom of the screen.":
item "Then hold and press edit in the shortcut menu to read the introduction.":
}
/*
Insert how long you want to work next to the hashtag
*/
@work = 27
/*
Insert how long you want to take a break next to the hashtag
*/
@break = 5
/*
Insert how many rounds you want to do next to the hashtag
*/
@rounds = 4
/*
If you want to warm up before working, insert a number next to the hashtag.
Note: The warmup time must be in seconds, use a converter like this one to adjust (https://www.calculateme.com/time/seconds/to-minutes/)
*/
@warm = 10
/*
Change wording for the warm up notification in the “Text” bubble
*/
@warmnotif = " seconds"
// If you want a long break after the four rounds, insert a number next to the hashtag. Right now the timer is set to send a congradulations message after 5 seconds, so make sure to change the message in the “Text” bubble as well.
@long = 5
@longnotif = "You're done! Congratulations!"
/*
⚠️ no touching below! ⚠️
*/
/*
time
*/
currentDate()
@time
/*
create new list
*/
menu "Do you want to create a new list for your pomodoro?" {
item "Yes":
rawAction("com.apple.reminders.TTRCreateListAppIntent", {
"AppIntentDescriptor": "",
"name": "Pomododo 🦤"
})
/*
start
*/
rawAction("is.workflow.actions.reminders.showlist", {
"WFList": "CreateList['name']"
})
adjustDate(@time, "")
@time
showNotification("Starting in {@warm}{@warmnotif}")
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "Work Begins! 🦤"
})
/*
repeat
*/
const Number = number(@rounds)
repeat _ for Number {
adjustDate(@time, "")
@time
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "Break Time!"
})
adjustDate(@time, "")
@time
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "Work Time!"
})
}
adjustDate(@time, "")
@time
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "{@longnotif}"
})
// no custom list
item "No":
// start
confirm("Choose where you want to place your pomodoro!")
rawAction("com.apple.reminders.TTROpenSmartListAppIntent", {
"AppIntentDescriptor": "",
"targetEntity": "Ask"
})
showNotification("Starting in {@warm}{@warmnotif}")
adjustDate(@time, "")
@time
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "Work begins! 🦤"
})
/*
repeat
*/
number(@rounds)
repeat _ for @rounds {
adjustDate(@time, "")
@time
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "Break Time!"
})
adjustDate(@time, "")
@time
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "Work Time!"
})
}
adjustDate(@time, "")
@time
rawAction("is.workflow.actions.addnewreminder", {
"WFAlertCustomTime": "{@time}",
"WFAlertEnabled": "Alert",
"WFCalendarDescriptor": "CreateList['name']",
"WFCalendarItemTitle": "{@longnotif}"
})
}
Abrir en Cherri Playground
Descompilado con cherri 2.3.0 (GPL-2.0). Puede que necesite pequeños ajustes antes de compilarse.
Valoraciones y reseñas
Escribe una reseña–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings
Aún no hay reseñas. ¡Sé el primero en compartir tu opinión!
Publicidad
También te puede gustar
Publicidad