kitkat

Crates.iokitkat
lib.rskitkat
version1.1.3
created_at2020-02-02 15:47:16.177699+00
updated_at2021-12-02 13:55:26.666689+00
descriptionThe classic kit kat clock utility.
homepage
repositoryhttps://github.com/epilys/kitkat
max_upload_size
id204236
size1,184,963
Manos Pitsidianakis (epilys)

documentation

README

kitkat clock in Rust

This is the plan9 cat clock utility rewritten in rust with minifb crate.

Confirmed working in Linux and Windows.

$ kitkat --help
Usage: kitkat [--hook|--crazy|--offset OFFSET|--borderless|--resize|--sunmoon|--moon|--date]

Displays a kit kat clock with the system time, or the system time with given offset if the --offset
argument is provided.

      --hook                 show a hooked tail instead of the default drop shaped one
      --crazy                go faster for each time this argument is invoked
      --offset OFFSET        add OFFSET to current system time (only the first given
                             offset will be used)
      --borderless
      --resize
      --sunmoon              show sun or moon phase depending on the hour
      --moon                 show only moon phase
      --date                 show month date
      --dog                  show an italian greyhound named Gaius Octavius Maximus instead of a cat

      OFFSET format is [+-]{0,1}\d\d:\d\d, e.g: 02:00 or -03:45 or +00:00

Demo

demo

demo

demo

demo

Default drop shaped tail. Hooked tail with `--hook`. Resizable window with `--resize`. Dog instead of cat with `--dog`.

demo

demo

Showing current date and sun/moon phase status. Showing just moon phase status.

References

Commit count: 0

cargo fmt