Crates.io | diffding |
lib.rs | diffding |
version | 0.2.5 |
source | src |
created_at | 2022-12-01 16:23:43.696327 |
updated_at | 2023-01-18 21:57:29.444365 |
description | Gentle reminders to commit when inserts/deletes cross a threshold |
homepage | |
repository | https://github.com/trevor-coleman/diffding |
max_upload_size | |
id | 727708 |
size | 204,495 |
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:
# ~/.config/diffding/config.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
snooze_length = 5 # number of minutes to snooze for
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.
~/.config/diffding/settings.toml