Skip to content

Latest commit

 

History

History
42 lines (30 loc) · 1.57 KB

README.md

File metadata and controls

42 lines (30 loc) · 1.57 KB

curses-clock

Open Source Love png2 GPLv2 license Maintenance

A clock based on curses in C that uses fixed-sized fonts (PSF) to allow varied displays.

screen shot of default config

Usage

Run make to generate cclock and then run ./cclock. Enjoy.

Inspirations

  • tablespoon's clock written with tput in shell script
  • George Carlin

Build Requirements

  • ncurses headers and libs (package libncurses5-dev in debian, ncurses-devel in RH)
  • glib-json (package libjson-glib-dev in debian, json-glib-devel in RH)

TODO

  • BUG: handle window resizing
  • BUG: segfaults on Fedora
  • check for json config in home directory, read it in
  • write out default config on request
  • error handling for unknown timezones

Acknowledgements