I had the requirements to build an application that controls a full-screen clock and timer that is on a second screen. As the timer approaches a particular time, it should change colors as a warning. If the timer goes beyond a particular time, another color should be used.
When the timer is not being used, the current time is displayed.
This is an open-source project, with MIT licensing. The code is on Github.
The font used is available here. It is not required that you install it, but it is a font that looks like an LED 7 segment display.
It will soon be available in the Apple Store to make it easier to install.
There is still plenty of work to be done on it, but it is useful and seems stable. If you like it, please donate using my bitcoin address of 17nfofdYpNNW1KRDRCof8TjhBzvwJ59M8p. QR Code Below:
- Save preferences on exit
- Provide a toggle that shows the screen numbers, to make it easier to select which screen the timer should display on.
- Provide settings for font sizes (right now, it attempts to auto calculate)
- Make timer position configurable.
- Allow the user to select a font.
- Allow the user to Cmd-Q to quit the app.
Here is the configuration screen and some details of how to use it:
Screen Number: For a machine with multiple screens, put the number of the screen where you want the full-screen timer to display.
Timer (MM:SS) – Enter the number of minutes and seconds. Note: If you want the timer to go for 15 minutes, simply put 15 in the box (the colon and number of seconds are optional).
Time Left Before Warning – Enter the number of minutes and seconds before the color of the font changes to the color selected in “Foreground Color Warning”. So if you wanted the font to change color 1 minute before the time chosen (i.e. 15 munites), then put a 1 in this box. Once again, seconds are optional. Entering a “1” is the same as entering “1:00”.
Background Color – The color to be used as the background for the full-screen display. To easily select the color, click the “C” button next to the box. Or you can enter RGB values as “rgb(1, 2, 3)”.
Foreground Color Normal – This is the color of the font when the timer is in “normal” mode.
Foreground Color Warning – This is the color of the font when the timer reaches the “Time Left Before Warning”.
Foreground Color Error – This is the color of the font when the timer reaches the full time entered in “Timer (MM:SS)”
The “Start” button starts a new timer. The “Stop” button stops the timer, and the screen changes to the current time. The “Hide” button removes the timer from the display.
Below that is a field that shows what the remote screen is showing. It will either be the timer (if the timer is running) or the clock (if the timer is not running).