From 1b2b0db18a9325236385bd0f8289ac90a1e14ce4 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 9 Jan 2021 14:27:04 +0330 Subject: [PATCH] notify-send message modified --- scripts/PhotoshopSetup.sh | 2 +- scripts/cameraRawInstaller.sh | 2 +- scripts/launcher.sh | 2 +- scripts/sharedFuncs.sh | 4 ++-- scripts/uninstaller.sh | 2 +- scripts/winecfg.sh | 1 + 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/PhotoshopSetup.sh b/scripts/PhotoshopSetup.sh index f170ad5..67db6a6 100755 --- a/scripts/PhotoshopSetup.sh +++ b/scripts/PhotoshopSetup.sh @@ -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 } diff --git a/scripts/cameraRawInstaller.sh b/scripts/cameraRawInstaller.sh index 735900c..63029b0 100755 --- a/scripts/cameraRawInstaller.sh +++ b/scripts/cameraRawInstaller.sh @@ -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 } diff --git a/scripts/launcher.sh b/scripts/launcher.sh index 5e707b5..1b4eb24 100755 --- a/scripts/launcher.sh +++ b/scripts/launcher.sh @@ -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" diff --git a/scripts/sharedFuncs.sh b/scripts/sharedFuncs.sh index 7defbed..44cc7c2 100755 --- a/scripts/sharedFuncs.sh +++ b/scripts/sharedFuncs.sh @@ -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++)) diff --git a/scripts/uninstaller.sh b/scripts/uninstaller.sh index 4266401..08e88e7 100755 --- a/scripts/uninstaller.sh +++ b/scripts/uninstaller.sh @@ -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 diff --git a/scripts/winecfg.sh b/scripts/winecfg.sh index 82c8c28..fe2196c 100755 --- a/scripts/winecfg.sh +++ b/scripts/winecfg.sh @@ -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"