diff --git a/desktop/.config/fish/functions/brf_to_unicode.fish b/desktop/.config/fish/functions/brf_to_unicode.fish new file mode 100755 index 0000000..5d31b9a --- /dev/null +++ b/desktop/.config/fish/functions/brf_to_unicode.fish @@ -0,0 +1,7 @@ + +#!/usr/bin/env fish +# + +function brf_to_unicode -d "convert music brf files to french encoding" + sed -e "s/\\\\/\\\\\\\\/" $argv | lou_translate language:en dots:6 +end diff --git a/desktop/.config/fish/functions/musicbrf_to_fr.fish b/desktop/.config/fish/functions/musicbrf_to_fr.fish new file mode 100755 index 0000000..93440c3 --- /dev/null +++ b/desktop/.config/fish/functions/musicbrf_to_fr.fish @@ -0,0 +1,6 @@ +#!/usr/bin/env fish +# + +function musicbrf_to_fr -d "convert music brf files to french table" + sed -e "s/\\\\/\\\\\\\\/" $argv | lou_translate language:en dots:6 | lou_translate fr-bfu-comp8.utb -b +end diff --git a/desktop/.config/fish/functions/txt_to_ubrl_fr.fish b/desktop/.config/fish/functions/txt_to_ubrl_fr.fish new file mode 100755 index 0000000..197f833 --- /dev/null +++ b/desktop/.config/fish/functions/txt_to_ubrl_fr.fish @@ -0,0 +1,6 @@ +#!/usr/bin/env fish +# + +function txt_to_ubrl_fr -d "convert text to unicode braille (french table)" + lou_translate fr-bfu-comp8.utb < $argv +end