Close

Pomodoro support

A project log for USB candles

Stained glass LED blinkenlights that can be USB powered

stephen-bStephen B 07/09/2016 at 19:080 Comments

Trying to improve my productivity at work I've added a pomodoro timer. This is a pattern that builds in intensity for 25 minutes (pausable with the caps lock) and then jazzes out until dismissed. Instead of throwing it in with the other patterns it's accessed with the Scroll Lock LED.

To make things more challenging, Linux window managers don't appear to support Scroll Lock LEDs any more. They can be enabled, or you can toggle the LED directly with xset viz:

xset led named 'Scroll Lock'
xset -led named 'Scroll Lock'

This is actually useful for me in work as after-spending ages making a LED trinket that works everywhere, it DOESN'T BLOODY WORK AT WORK PROPERLY because I use the awesome window manager and at this point it is not awesome as it doesn't synchronise any LEDs at all. But I can at least set a hotkey for some xset commands!

Video to come.

Discussions