Simple ncurses-based digital clock for the terminal
- C 100%
| config.h |
make config.h consts static too
|
|
| digits.h | filling glyph is now configurable | |
| LICENSE | initial commit | |
| README.md |
toggle the border with the b key
|
|
| sclock.c | macrofy empty border array | |
| sclock.png | add image | |
sclock
Simple terminal digital clock using ncurses
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
qquitbtoggle the bordercchange colordtoggle date visibilityrredraw screen