Shaidin
Digital Clock
Clock Application

Clock is an application based on SDL2.
Date and time are shown in full-screen mode.
Multiple alarms can be set and next coming alarm time is shown.
Hourly chime can be turned on or off.
The brightness changes according to the time (more light during the day and less light during the night).

Steps to run on Linux:
  1. Download "clock-x86_64.deb".
  2. Install it: "sudo apt install <the-deb-file>".
  3. Run "clock".
  4. Check the time occasionally.
Steps to run on Windows:
  1. Download "clock-x86_64.msi".
  2. Install it.
  3. Run "clock.exe" from "bin" folder at installation path.
  4. Check the time occasionally.
Help
Keyboard
  • R: ring the bell
  • SPACE: stop current ring
  • ESC: exit
Mouse
  • Click: exit
Touch
  • Touch: exit
Configuration:
  • Create a file named ".clock.conf" in your home directory.
  • To choose the display index - for example 1 - add the line "display 1" to ".clock.conf".
  • To set the volume from 0 to 100 - for example 75 - add the line "volume 75" to ".clock.conf".
  • To set the text color by RGB - for example black - add the line "color 0 0 0" to ".clock.conf".
  • To set the background color by RGB - for example white - add the line "background 255 255 255" to ".clock.conf".
  • To turn dimming on, add the line "dim true" to ".clock.conf".
  • To turn dimming off, add the line "dim false" to ".clock.conf".
  • To turn hourly chime on, add the line "chimes true" to ".clock.conf".
  • To turn hourly chime off, add the line "chimes false" to ".clock.conf".
  • To turn alarms on, add the line "alarms true" to ".clock.conf".
  • To turn alarms off, add the line "alarms false" to ".clock.conf".
  • Add each alarm, optionally with days of week - for example "06:30" on monday and tuesday- in a new line like "alarm 06:30 monday tuesday" to ".clock.conf". "weekend" and "weekdays" can be used as days of week.