mirror of
https://github.com/jhechavarria/say.sh.git
synced 2025-12-10 06:06:59 +00:00
Mise a jour du chemin d'installation du programme et du README
This commit is contained in:
14
README.md
14
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:
|
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
|
- copying the scripts to newly created directory
|
||||||
- creating and setting config file within newly created directory
|
- creating and setting config file within newly created directory
|
||||||
- adding an instruction to /gome/user/.bashrc file
|
- 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
|
**fr-FR** French
|
||||||
|
|
||||||
**de-DE** Deutsch
|
**de-DE** German
|
||||||
|
|
||||||
**es-ES** Spanish
|
**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:
|
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.
|
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
|
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
|
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
|
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
|
Open a new window with program speed settings
|
||||||
|
|
||||||
```
|
```
|
||||||
./bin/say/say.sh gui spd
|
./.local/bin/say/say.sh gui spd
|
||||||
```
|
```
|
||||||
|
|
||||||
## Commands
|
## Commands
|
||||||
|
|||||||
2
say.sh
2
say.sh
@@ -7,7 +7,7 @@ SYSLNG="`echo $LANGUAGE | sed 's/_/-/g'`";
|
|||||||
P2WFILE="say";
|
P2WFILE="say";
|
||||||
|
|
||||||
# Set paths
|
# Set paths
|
||||||
ROOTPATH="$HOME/bin/say/"
|
ROOTPATH="$HOME/.local/bin/say/"
|
||||||
SRCPATH="$ROOTPATH$P2WFILE.sh"
|
SRCPATH="$ROOTPATH$P2WFILE.sh"
|
||||||
GUIPATH="$ROOTPATH${P2WFILE}gui.sh"
|
GUIPATH="$ROOTPATH${P2WFILE}gui.sh"
|
||||||
CFGPATH="$ROOTPATH$P2WFILE.cfg"
|
CFGPATH="$ROOTPATH$P2WFILE.cfg"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Base paths
|
# Base paths
|
||||||
P2WFILE="say"
|
P2WFILE="say"
|
||||||
ROOTPATH="$HOME/bin/say/"
|
ROOTPATH="$HOME/.local/bin/say/"
|
||||||
SRCPATH="$ROOTPATH$P2WFILE.sh"
|
SRCPATH="$ROOTPATH$P2WFILE.sh"
|
||||||
GUIPATH="$ROOTPATH$P2WFILEgui.sh"
|
GUIPATH="$ROOTPATH$P2WFILEgui.sh"
|
||||||
CFGPATH="$ROOTPATH$P2WFILE.cfg"
|
CFGPATH="$ROOTPATH$P2WFILE.cfg"
|
||||||
@@ -115,7 +115,7 @@ sayguilng()
|
|||||||
"en-US" "English (US)" \
|
"en-US" "English (US)" \
|
||||||
"en-GB" "English (GB)" \
|
"en-GB" "English (GB)" \
|
||||||
"fr-FR" "French" \
|
"fr-FR" "French" \
|
||||||
"de-DE" "Deutsch" \
|
"de-DE" "German" \
|
||||||
"es-ES" "Spanish" \
|
"es-ES" "Spanish" \
|
||||||
"it-IT" "Italian" 2> /dev/null`
|
"it-IT" "Italian" 2> /dev/null`
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user