Log In  


Cart #pomodoro-1 | 2024-03-24 | Embed ▽ | License: CC4-BY-NC-SA
26

This is pomodoro.p64! A helpful tooltray widget for Picotron that will allow you to follow the Pomodoro system.

Installation

In a terminal:

  1. load #pomodoro
  2. save pomodoro.p64 (save anywhere you like, I personally have mine at /appdata/local/tooltray/pomodoro.p64)

Then, open up /appdata/system/startup.lua (or create the file if you haven't yet).
Add the following line:

create_process("/path/to/your/pomodoro.p64", {window_attribs = {workspace = "tooltray", x=2, y=2, width=91, height=32}})

You can edit the x= and y= coordinates to be whatever you like, but be sure that width and height is 91x32.

Restart Picotron and enjoy your new widget!

Features:

  • Preconfigured pomodoro intervals (50/10, 45/15, 15/5, 30/7)
  • A chime and notification when an interval changes
  • Pause and reset the timer at will
  • Easy integration with the tooltray (continues to run even if the tray is shut)
26


1

This is wonderful! A perfect use of the tool tray area--set it in just a few clicks, then it's hidden out of the way so you can focus on what you're doing until it chimes.
It's got a really wonderful tactile appeal too and clear, clever use of colours to immediately communicate its state at a glance.

What a fine piece of design! I'm really looking forward to using this in practice.


@Decidetto and future readers:

I've updated this cart and anyone who has installed it will want to load #pomodoro-1 to install the new version. The prior version had a bug where the chime / notify() call wouldn't occur until you opened the tooltray. The newer version of the cart will actually chime and notify() when the countdown is complete. Thank you!



[Please log in to post a comment]