Simple countdown timer using urwid
Project description
- Date:
- 2013-09-29
- Copyright:
- Copyright 2011-2013 Yu-Jie Lin. MIT License.
- Version:
- 0.5.0
- Manual section:
1
- Manual group:
User Commands
Synopsis
urtimer [-h] [-v] [-d DATE] [-S] [-s] [-D] [-w FILE] [TIME [TIME …]]
+---------------------------------------------------------+ | | | | | ▄▀▀▀▄ ▄▀▀▀▄ ▄▀▀▀▄ █▀▀▀▀ ▄▀▀▀▄ ▄▀▀▀▄ ▄▀▀▀▄ | | █ █ █ █ ▀ █ █ █ ▀ █ █ █ █ █ █ | | █ █ █ █ ▄ █ █ ▀▀▀▀▄ ▄ █ █ █ █ █ █ | | █ █ █ █ █ █ █ █ █ █ █ █ █ | | ▀▀▀ ▀▀▀ ▀▀▀ ▀▀▀▀ ▀▀▀ ▀▀▀ ▀ ▀▀▀ | | | | | +---------------------------------------------------------+
Description
TIME specify the countdown time in format of NUMBER[SUFFIX], SUFFIX can be ‘d’, ‘h’, ‘m’, ‘s’. Default is ‘s’ if SUFFIX is omitted. TIME can be used multiple times and they will be summed up.
- -h, --help
show this help message and exit
- -v, --version
show program’s version number and exit
- -d DATE, --date DATE
calculate countdown from the date, for example, “5:35 PM”, “noon”, or “tomorrow 1 am”. This option ignores TIME, requires parsedatetime package
- -S, --stopwatch
stopwatch mode
- -s, --start
start timer when urtimer starts
- -D, --no-ds
do not show deciseconds
- -T, --no-title
Do not set window title
- -w FILE, --write-elapsed FILE
write final elapsed time to FILE
Functions
Countdown timer: when reaches zero, the program exits.
Controls
Keys
- Z/A:
decrease/increase hour
- X/S:
decrease/increase minute
- C/D:
decrease/increase second
- Space:
start/pause timer
- Q:
quit the program
Mouse
- Left-button:
start/pause timer
Resources
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.