kanariya0922 / tir

tir - tea is ready

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NAME

tir - tea is ready

SYNOPSIS

tir [ wait ] [ what ]

SAMPLES

% tir 60

	wait 60 second and say "Tea is ready"

% tir 180 Ramen

	wait 180 seconds and say "Ramen is ready"

% tir 5min Your noodle

	wait 300 seconds and say "Your noodle is ready"

% tir -GR

	try and listen

OPTIONS

-w time		wait time
-b sound	choose notification sound
-r		same as -v random
-v voice	choose speech voice
-l voice	choose voice for last message
-V volume	set speech volume
-m message	set message to show
-c time		set countdown interval (set 0 to disable)
-i control	iTunes control (*fade, volume, pause, no)
-e/-E		echo message or not
-n/-N		send notification or not
-s/-S		speak or not
-GR		gorgeous ramen
-GU		gorgeous udon

DESCRIPTION

This is the command line kitchen timer for Apple OS X Mavericks. It will show the message on terminal, notification center, and read it out using audible speech. Default message is "Tea is ready" and the "tea" is replaced by the command argument. If the first argument is number, command waits that time in second.

It produces countdown message every 10 minutes (> 60min), 60 seconds (> 60sec), 30 seconds (> 30sec) or 10 seconds. Countdown interval can be set by -c option and set value 0 to disable it.

If iTunes is playing, its volume is faded into half by default during speech. Select control from fade, volume, pause or no by -i option.

Use -v option to change voice. Option -r is just a shortcut for -v random and choose random voice. Voice used for last message can be set by -l option.

Option -V can be used to set system sound volume temporarily. Volume is the number between 0 and 100, and it will set just for one second.

Special option -R and -U is prepared for Ramen and Udon. They set wait time 3min and 5min respectively. Use -GR and -GU for gorgeous version.

SEE ALSO

osascript(1), say(1)

AUTHOR

Kazumasa Utashiro

https://github.com/kaz-utashiro/tir/

About

tir - tea is ready


Languages

Language:Shell 100.0%