A TUI clock thing I made
Find a file
2024-07-17 18:38:54 -04:00
config.h make config.h consts static too 2023-12-30 17:48:16 -03:00
digits.h filling glyph is now configurable 2023-11-25 13:31:47 -03:00
LICENSE initial commit 2023-11-13 23:18:08 -03:00
README.md toggle the border with the b key 2023-12-30 15:21:02 -03:00
sclock.c macrofy empty border array 2024-07-17 18:38:54 -04:00
sclock.png add image 2023-11-19 13:35:19 -03:00

sclock

Simple terminal digital clock using ncurses

sclock screenshot

Building

gcc -O2 -lncurses sclock.c -o sclock    # or clang...

Depending on your distro, you may have to link against ncursesw instead if you see weird characters.

Configuration

Configuration is done in the suckless spirit; check config.h.

Keys

  • q quit
  • b toggle the border
  • c change color
  • d toggle date visibility
  • r redraw screen