Skip to content

coolcorexix/ding

Repository files navigation

Help you come back to your work when the command you are waiting for is done. With an elegant ding sound 🤌🛎 - made by Nemo.

Play a buzz sound if the command exit with non-zero code.

Works for both MacOs and Ubuntu.

This helps you:

  • Proactively wait on the command while attending other stuff (watch a cat video while waiting)
  • Avoid being distracted for too long (watch too much cat videos while waiting)

If you find this useful, please consider donating to support my work. Lots of love 🙏

"Buy Me A Coffee"

UPDATE:

  • More pleasant sound when the command is done with error
  • Soundplay will not block the terminal anymore

Installation

sudo curl -sSL https://raw.githubusercontent.com/coolcorexix/ding/4ad2962f98fb206885a6b65417ac844b72be273a/install-ding.sh  | sudo bash

Usage

ding [the command that make you wait]

or

# this help with multiple commands use case
[commands that make you wait] && ding

Bonus: if you want to have small break from your work session, run

# ring a sound after 300 seconds (5 minutes)
ding sleep 3000

Known issues

  • This command does not work with aliases

Uninstall

sudo curl -sSL https://raw.githubusercontent.com/coolcorexix/ding/4ad2962f98fb206885a6b65417ac844b72be273a/uninstall-ding.sh  |  sudo bash

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages