ads-clock [1] is a digital clock using TOIlet to render the display, 'ads' stands for the author's initials.
Basically, it's just a wrapper and post-processor for `date | toilet`. You will need a ridiculously bit terminal size with width ~255, yes, it's intended for big display, still, it's just orz, I wish it could break into two lines or not having the timezone. I have to reduce the font size to 7 and use `toilet` to render out the command outputs, so they can be captured better.
I don't know if it's "non-ugly," but some big text clocks ain't so bad-looking, maybe blocky, but not ugly in my eyes.
Also, the wrapper script `ads-clock` for `ads-clock-once` has set with 1-second interval, which inevitably would result some seconds skipped, just like this clock [2], but worse, because it's shell script and relying on external commands, each iteration would take more time to execute.
So, I changed the interval to 0.1 seconds, even no more skipping, but you can still see some updating latency. It's not a fancy clock, you shouldn't be needing a modern computer. Just need a better coding/scripting, in this case, implementing a slightly more precise timer could be a better solution, that is to `sleep` the exact time onto next second.
$$#
* git-13163e58f2e99f5172eb93abbff604b110dad656 (2016-06-11)
* In Bash with TOIlet
* By Alan D. Salewski
* GPLv2
[1]: https://github.com/salewski/ads-clock
[2]: • clockr, digital clock (digital clock)
Смотрите видео ads-clock, "non-ugly" clock for big terminal/display онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Archived Yu-Jie Lin 11 Июнь 2016, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 208 раз и оно понравилось 4 людям.