notify-send message modified

This commit is contained in:
victor 2021-01-09 14:27:04 +03:30
parent 9fc20d1680
commit 1b2b0db18a
6 changed files with 7 additions and 6 deletions

View File

@ -113,7 +113,7 @@ function install_photoshopSE() {
show_message "removing useless helper.exe plugin to avoid errors"
rm "$WINE_PREFIX/drive_c/users/$USER/PhotoshopSE/Required/Plug-ins/Spaces/Adobe Spaces Helper.exe"
notify-send "photoshop installed successfully" -i "photoshop"
notify-send "Photoshop CC" "photoshop installed successfully" -i "photoshop"
show_message "photoshopCC V19 x64 installed..."
unset filename filemd5 filelink filepath
}

View File

@ -32,7 +32,7 @@ function install_cameraRaw() {
wine $filepath &>> "$SCR_PATH/wine-error.log" || error2 "sorry something went wrong during Adobe Camera Raw v12 installation"
notify-send "Adobe Camera Raw v12 installed successfully" -i "photoshop"
notify-send "Photoshop CC" "Adobe Camera Raw v12 installed successfully" -i "photoshop"
show_message2 "Adobe Camera Raw v12 installed..."
unset filename filemd5 filelink filepath
}

View File

@ -4,7 +4,7 @@ if [ $# -ne 0 ];then
exit 1
fi
notify-send "Photoshop CC started." -i "photoshopicon"
notify-send "Photoshop CC" "Photoshop CC launched." -i "photoshopicon"
SCR_PATH="pspath"
CACHE_PATH="pscache"

View File

@ -186,14 +186,14 @@ function download_component() {
aria2c -c -x 8 -d "$CACHE_PATH" -o $4 $3
if [ $? -eq 0 ];then
notify-send "$4 download completed" -i "download"
notify-send "Photoshop CC" "$4 download completed" -i "download"
fi
else
show_message "using wget to download $4"
wget "$3" -P "$CACHE_PATH"
if [ $? -eq 0 ];then
notify-send "$4 download completed" -i "download"
notify-send "Photoshop CC" "$4 download completed" -i "download"
fi
fi
((tout++))

View File

@ -7,7 +7,7 @@ main() {
CMD_PATH="/usr/local/bin/photoshop"
ENTRY_PATH="/home/$USER/.local/share/applications/photoshop.desktop"
notify-send "photoshop uninstaller started" -i "photoshop"
notify-send "Photoshop CC" "photoshop uninstaller started" -i "photoshop"
ask_question "you are uninstalling photoshop cc v19 are you sure?" "N"
if [ $result == "no" ];then

View File

@ -2,6 +2,7 @@
source "sharedFuncs.sh"
function main() {
notify-send "Photoshop CC" "winecfg started" -i "photoshop"
load_paths
RESOURCES_PATH="$SCR_PATH/resources"
WINE_PREFIX="$SCR_PATH/prefix"