mirror of
https://github.com/jhechavarria/say.sh.git
synced 2025-12-10 06:06:59 +00:00
correctifs GUI
This commit is contained in:
2
say.sh
2
say.sh
@@ -208,6 +208,8 @@ if [[ "$1" = "install" ]]; then
|
||||
fi
|
||||
elif [ "$1" = "config" ]; then
|
||||
saycfg $2 $3 $4;
|
||||
elif [ "$1" = "gui" ]; then
|
||||
saygui $2;
|
||||
elif [ "$1" = "say" ]; then
|
||||
if [ "`pgrep -x play`" > /dev/null ]; then
|
||||
shutup;
|
||||
|
||||
@@ -8,7 +8,7 @@ GUIPATH="$ROOTPATH$P2WFILEgui.sh"
|
||||
CFGPATH="$ROOTPATH$P2WFILE.cfg"
|
||||
|
||||
# Main title
|
||||
TITLE="SayGUI Config"
|
||||
TITLE="SayGUI"
|
||||
|
||||
# Load base functions
|
||||
. "$SRCPATH"
|
||||
@@ -81,7 +81,7 @@ sayguilng()
|
||||
{
|
||||
LANGUAGE=`zenity --list \
|
||||
--width=640 --height=480 \
|
||||
--title="$TITLE | Language" \
|
||||
--title="$TITLE | Language Settings" \
|
||||
--ok-label="Save" \
|
||||
--cancel-label="Close" \
|
||||
--hide-column=1 \
|
||||
@@ -108,7 +108,7 @@ sayguilng()
|
||||
|
||||
sayguivol()
|
||||
{
|
||||
VOLUME=`zenity --scale --title="$TITLE | Volume" \
|
||||
VOLUME=`zenity --scale --title="$TITLE | Volume Settings" \
|
||||
--width=640 --height=480 \
|
||||
--text="Set new volume level" \
|
||||
--ok-label="Save" \
|
||||
@@ -129,7 +129,7 @@ sayguivol()
|
||||
|
||||
sayguispd()
|
||||
{
|
||||
SPEED=`zenity --scale --title="$TITLE | Speed" \
|
||||
SPEED=`zenity --scale --title="$TITLE | Speed Settings" \
|
||||
--width=640 --height=480 \
|
||||
--text="Set new speed level" \
|
||||
--ok-label="Save" \
|
||||
|
||||
Reference in New Issue
Block a user