From b3896e9e541913b4e373a1df0fa0f77c4ee4157e Mon Sep 17 00:00:00 2001 From: NEXNC Date: Tue, 17 Mar 2026 06:49:20 +0530 Subject: [PATCH] tty-clock: add page (#21412) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/tty-clock.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 pages/common/tty-clock.md diff --git a/pages/common/tty-clock.md b/pages/common/tty-clock.md new file mode 100644 index 0000000000..c5165b7214 --- /dev/null +++ b/pages/common/tty-clock.md @@ -0,0 +1,28 @@ +# tty-clock + +> A customizable terminal-based digital clock. +> More information: . + +- Start the clock in the center of the terminal: + +`tty-clock -c` + +- Enable the display of seconds: + +`tty-clock -s` + +- Set the color of the clock using a color code (0-7): + +`tty-clock -C {{color_number}}` + +- Use a custom date format (strftime format): + +`tty-clock -f "{{%A, %B %d}}"` + +- Set a custom refresh delay in seconds (default is 1): + +`tty-clock -d {{seconds}}` + +- Exit the clock (while running): + +``