From 8e696192d159f877e52fd6347ae74ed83441357a Mon Sep 17 00:00:00 2001 From: jhechavarria Date: Tue, 11 Dec 2018 02:18:16 +0100 Subject: [PATCH] Mise a jour du chemin d'installation du programme et du README --- README.md | 14 +++++++------- say.sh | 2 +- saygui.sh | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index efdf7a8..9a7e3db 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ To start installing the script simply type: This will go through a few operations required for it to work properly: -- creating a /home/user/bin/say directory +- creating a /home/user_name/.local/bin/say directory - copying the scripts to newly created directory - creating and setting config file within newly created directory - adding an instruction to /gome/user/.bashrc file @@ -69,7 +69,7 @@ The script supports over to 6 different languages. Volume variates from 0 to 2 a **fr-FR** French -**de-DE** Deutsch +**de-DE** German **es-ES** Spanish @@ -80,7 +80,7 @@ The script supports over to 6 different languages. Volume variates from 0 to 2 a A keyboard shortcut can be set to use TTS functionnalities puside terminal. Simply set a new keyboard shortcut with the following command: ``` -./bin/say/say.sh say +./.local/bin/say/say.sh say ``` This command will start reading any text selected with your mouse. To stop reading, press the keyboard shortcut again. @@ -92,25 +92,25 @@ In order to make your end experience even better a few additional commands relat Open a new window with program settings and graphical TTS reader ``` -./bin/say/say.sh gui +./.local/bin/say/say.sh gui ``` Open a new window with program language settings ``` -./bin/say/say.sh gui lng +./.local/bin/say/say.sh gui lng ``` Open a new window with program volume settings ``` -./bin/say/say.sh gui vol +./.local/bin/say/say.sh gui vol ``` Open a new window with program speed settings ``` -./bin/say/say.sh gui spd +./.local/bin/say/say.sh gui spd ``` ## Commands diff --git a/say.sh b/say.sh index 607852c..6229e6e 100755 --- a/say.sh +++ b/say.sh @@ -7,7 +7,7 @@ SYSLNG="`echo $LANGUAGE | sed 's/_/-/g'`"; P2WFILE="say"; # Set paths -ROOTPATH="$HOME/bin/say/" +ROOTPATH="$HOME/.local/bin/say/" SRCPATH="$ROOTPATH$P2WFILE.sh" GUIPATH="$ROOTPATH${P2WFILE}gui.sh" CFGPATH="$ROOTPATH$P2WFILE.cfg" diff --git a/saygui.sh b/saygui.sh index cc457c7..ba83f94 100755 --- a/saygui.sh +++ b/saygui.sh @@ -2,7 +2,7 @@ # Base paths P2WFILE="say" -ROOTPATH="$HOME/bin/say/" +ROOTPATH="$HOME/.local/bin/say/" SRCPATH="$ROOTPATH$P2WFILE.sh" GUIPATH="$ROOTPATH$P2WFILEgui.sh" CFGPATH="$ROOTPATH$P2WFILE.cfg" @@ -115,7 +115,7 @@ sayguilng() "en-US" "English (US)" \ "en-GB" "English (GB)" \ "fr-FR" "French" \ - "de-DE" "Deutsch" \ + "de-DE" "German" \ "es-ES" "Spanish" \ "it-IT" "Italian" 2> /dev/null`