No description
Find a file
Togglebit 4e8014d8ac
Merge pull request #10 from ModProg/padding
Configurable padding for message and timer; Option to center timer
2022-01-19 10:58:30 +01:00
resources add more fonts that work 2021-10-12 15:13:39 -04:00
src Merge pull request #10 from ModProg/padding 2022-01-19 10:58:30 +01:00
.gitignore initial 2020-11-10 20:17:07 +01:00
Cargo.lock updated dependency 2021-05-23 12:18:30 +02:00
Cargo.toml 2021 edition 2021-10-21 17:21:18 +02:00
LICENSE added license 2020-11-11 08:57:29 +01:00
README.md Merge pull request #10 from ModProg/padding 2022-01-19 10:58:30 +01:00
rustfmt.toml format 2021-10-10 04:29:50 -04:00

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