# d6-rs tiny, lightweight diceroll program made this cuz i found out dice symbols exist ## usage normal usage ``` d6 ``` specific number of faces ``` d6 ``` ## installation and usage prerequisites: cargo >= 1.87.x clone this repo ``` git clone https://github.com/ellipticobj/d6-rs.git && cd d6-rs ``` install ``` cargo install --path . ``` run ``` d6 ``` ## configuration the config file should be located at ~/.config/d6.cfg each line in the config file should look like this: ``` token: value ``` ### dicesize changes the default number of faces of the die. (default: 6) ``` dicesize: ``` ### animation activates or deactivates the dice rolling animation. (default: true) ``` animation: ``` ### animdur changes duration of the animation in seconds. (default: 0.6) ``` animdur: ``` ### interval changes the intervals between frames of an animation in milliseconds. (default: 25) ``` interval: ``` ### faces changes the symbol representing the faces of the die, separated by a comma. ``` faces: ,,... ``` --- made with rust btw haha ## plans ! - [x] add more robust checks for custom dice sizes - [x] finish cofiguration for faces, animation frame intervals - [x] customization? (animation time, output options, symbols) - [x] more dice options - [x] add a way to pipe just the value or to remove the symbol so bash scripting is easier