liviu- / ding
- среда, 5 октября 2016 г. в 03:14:45
Python
Lightweight time management CLI tool
Tired of $ sleep 4231; beep
? This is a very simple solution to help with short-term time management. The beep sound uses the motherboard audio, so it works even if your speakers are muted, but not if you muted the PC speakers
pip
or just copy the binary somewhere in $PATH
$ pip install ding-ding
(ding
was taken)
Alternatively, download the ding.py file and run it however you please.
$ ./ding.py in 1s
$ ding in 15m
$ ding at 16:45
$ alias pomo="ding in 25m"
$ pomo
# Relative time
$ ding in 2m
$ ding in 2h 15m
$ ding in 2m 15s
# Absolute time
$ ding at 12
$ ding at 17:30
$ ding at 17:30:21