ShareShortcuts
Fazer fork de “Pomododo 🦤”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que springy receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
18K
Salvo
0
Ações
73
Categoria
API
Versão
1.0
Idioma
EN

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.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 12 de jan de 2025

First release

O que ele faz

73 ações
  1. 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…
  2. Comment
    Set up below! 🦤
  3. Comment
    Make sure to delete this notification by pressing the x on the first white bubble once you are used to this shortcut!
  4. Choose from Menu
    First time using Pomododo?
  5. Choose from Menu
    Please stop this shortcut by pressing the bottom of the screen.
  6. Choose from Menu
    Then hold and press edit in the shortcut menu to read the introduction.
  7. Comment
    Insert how long you want to work next to the hashtag
  8. Number
  9. Set Variable
    work
  10. Comment
    Insert how long you want to take a break next to the hashtag
  11. Number
  12. Set Variable
    break
  13. Comment
    Insert how many rounds you want to do next to the hashtag
  14. Number
  15. Set Variable
    rounds
  16. Comment
    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/)
  17. Number
  18. Set Variable
    warm
  19. Comment
    Change wording for the warm up notification in the “Text” bubble
  20. Text
  21. Set Variable
    warm-notif
  22. Comment
    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.
  23. Number
  24. Set Variable
    long
  25. Text
  26. Set Variable
    long-notif
  27. Comment
    ⚠️ no touching below! ⚠️
  28. Comment
    time
  29. Date
  30. Set Variable
    time
  31. Comment
    create new list
  32. Choose from Menu
    Do you want to create a new list for your pomodoro?
  33. Choose from Menu
    Yes
  34. T T R Create List
    com.apple.reminders
  35. Comment
    start
  36. Reminders Showlist
  37. Adjust Date
  38. Set Variable
    time
  39. Show Notification
    Starting in ……
  40. Add New Reminder
  41. Comment
    repeat
  42. Number
  43. Repeat
  44. Adjust Date
  45. Set Variable
    time
  46. Add New Reminder
  47. Adjust Date
  48. Set Variable
    time
  49. Add New Reminder
  50. Adjust Date
  51. Set Variable
    time
  52. Add New Reminder
  53. Comment
    no custom list
  54. Choose from Menu
    No
  55. Comment
    start
  56. Show Alert
  57. T T R Open Smart List
    com.apple.reminders
  58. Show Notification
    Starting in ……
  59. Adjust Date
  60. Set Variable
    time
  61. Add New Reminder
  62. Comment
    repeat
  63. Number
  64. Repeat
  65. Adjust Date
  66. Set Variable
    time
  67. Add New Reminder
  68. Adjust Date
  69. Set Variable
    time
  70. Add New Reminder
  71. Adjust Date
  72. Set Variable
    time
  73. Add New Reminder

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele 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 no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Você também pode gostar

Ver tudo
Publicidade