From 9d9a69973193597bf6c08822a96a851c9660d6d0 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 13 Mar 2021 21:06:22 +0100 Subject: Write an attribution config file Set attribution config strings for French and English. If the input email's body language is in French, set my French attribution string. Otherwise use English. Write the attribution string to a config file at `~/.local/share/ottolangy/attribution.muttrc`. We can then source this config file to set the attribution. --- Cargo.lock | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index b639a77..6512fcd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -85,6 +85,7 @@ version = "0.0.1" dependencies = [ "mailparse", "whatlang", + "xdg", ] [[package]] @@ -101,3 +102,9 @@ checksum = "783066160df650d0cc2629fa4f616ef4fcf00817803789e92ca09a55eba6ff05" dependencies = [ "hashbrown", ] + +[[package]] +name = "xdg" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d089681aa106a86fade1b0128fb5daf07d5867a509ab036d99988dec80429a57" -- cgit v1.2.3