It's easy to get lost in what you're doing. Diff ding counts the changes in your repo and reminds you to commit your changes once you exceed a certain number of inserts and deletes.
cargo install diffding
diffding [interval] [threshold]
You can configure diffding by creating a ~/.config/diffding/config.toml
file in your home directory.
Example:
toml
sound = "14409__acclivity__chimebar-f.wav" # name of a sound file in `~/.config/diffding`
interval = 10 # seconds between checks
threshold = 100 # number of inserts and deletes allowed before a reminder
volume = 1.0 # volume of the sound
You can use any sound you like in place of the default bell.
Place the file in ~/.config/diffding
and set the sound
option in the config file to the name of the file (with no path*);
* support for arbitrary paths coming soon
[ ] Snooze - press space to suppress the dings for a bit
[ ] Git integration - commit directly from diffding
[ ] More bells and whistles -- literally. different built-in sounds.
[ ] Volume control - because sometimes the ding is just too much
[x] Config file(s) - set preferences in ~/.config/diffding/settings.toml