Crates.io | timer-cli |
lib.rs | timer-cli |
version | 0.8.2 |
source | src |
created_at | 2024-10-05 06:30:49.697505 |
updated_at | 2024-10-06 09:32:33.843474 |
description | Simple countdown terminal alarm |
homepage | https://github.com/pando85/timer |
repository | https://github.com/pando85/timer |
max_upload_size | |
id | 1397434 |
size | 243,130 |
Simple count down terminal alarm.
cargo install timer-cli
yay -S timer-rs
Binaries are made available each release for the Linux and MacOS operating systems.
You can download a prebuilt binary from our Releases.
curl -s https://api.github.com/repos/pando85/timer/releases/latest \
| grep browser_download_url \
| grep $(uname -m) \
| grep linux \
| cut -d '"' -f 4 \
| xargs curl -L \
| tar xvz
sudo mv timer /usr/local/bin
If you want to enable beep from your built-in case speaker you will need to run one of these
kernel modules: pcspkr
(recommended) or snd-pcsp
.
In addition, to use beep as normal user read the PERMISSIONS.md
file.
If executed with -t, --terminal-bell
option it will send a bell character. Same as:
echo -e '\a'
This is useful for visual bell. Remember that you have to enable it in your terminal configuration. Usage example:
timer -t -s 11:00