termdown
Shutdown a Linux computer after a delay
TLDR
Start a stopwatch
Start a 1 minute and 30 seconds countdown
Start a 1 minute 30 seconds countdown with blinking the terminal at the end
Show a title above countdown
Display current time
SYNOPSIS
termdown [OPTIONS]
PARAMETERS
The duration in seconds or a date string until which the timer should count down. Date strings should be in a format that is recognized by python's datetime library.
-f, --font
Specifies the font to use for the timer display. (font name)
-c, --color
Specifies the color of the timer display. (color name)
-b, --blink
Enables blinking of the timer when it reaches zero.
-s, --style
Sets the animation style. (style name)
-h, --help
Show program's help message and exit.
-v, --version
Show program's version number and exit.
DESCRIPTION
Termdown is a command-line utility that displays a visually appealing countdown timer in your terminal. It's designed to be simple, flexible, and customizable, allowing you to create countdowns based on seconds, specific dates, or durations. The timer is presented as an animated countdown, making it useful for various purposes such as alerting you to approaching deadlines, timing presentations, or simply adding a visual element to long-running tasks. Termdown provides options to customize the timer's appearance, including font, color, and animation style.
The tool accepts a duration in seconds, or a date string for the target time. It's a standalone script, usually written in Python, and can be easily integrated into shell scripts or other command-line workflows. This allows you to trigger actions or notifications when the timer expires. The visual appeal and simple integration makes it a versatile addition to any command-line user's toolbox.
CAVEATS
The specific available fonts, colors, and animation styles depend on the implementation and the underlying libraries used by Termdown.
EXAMPLES
- `termdown 60`: Starts a countdown for 60 seconds.
- `termdown "2024-01-01 00:00:00"`: Starts a countdown until January 1st, 2024 at midnight.
- `termdown -f digital -c red 300`: Starts a countdown for 300 seconds using the 'digital' font and red color.