1
0
Fork
You've already forked sclock
0
Simple ncurses-based digital clock for the terminal
  • C 100%
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