TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

Afk

togglebyte / afk

Show a countdown timer in terminal

16 6 Language: Rust License: MIT Updated: 3y ago

README

Usage: afk "some text to show" -h # -m # -s # -k -c blue

Text to display can be empty, a single word, or a "quoted string" of words.

-h # Number of hours to count down
-m # Number of minutes to count down
-s # Number of seconds to count down
You can enter time in any combination of hms or just one.
The application will adjust it. Ex: -s 90 will translate to 1m 30s.
Color can be a comma or quoted space separated RGB value: 42,42,42 or "42 42 42"

-c color colors the text with a bold foreground color.
Colors: Black, Red, Green, Yellow, Blue, Purple, Cyan, White

-k Allow countdown to go negative / Stopwatch mode

-0 Hide hour or minutes when zero

-f Use figgle font for message

-z Horizontally centers the timer

-p # Same message padding for top and bottom
-p # # Different message padding for top and bottom

-t # Same timer padding for top and bottom
-t # # Different timer padding for top and bottom
Horizontal padding will only be applied when timer is not centered

--help shows this help

Keybinds

Press ESC, CTRL+c or q to close
Press s, m or h to decrease the timer by a second, minute or hour
Press S, M or H to increase the timer by a second, minute or hour

0 AIs selected
Clear selection
#
Name
Task