diff --git a/dolphin-folder-color.sh b/dolphin-folder-color.sh index 735db10..dc8d131 100755 --- a/dolphin-folder-color.sh +++ b/dolphin-folder-color.sh @@ -17,15 +17,14 @@ # # # Version 1.3 -# folder-icon.sh ICON_NAME PATH1 PATH2 ... +# dolphin-folder-color.sh ICON_NAME PATH1 PATH2 ... # name: is a color or any other folder-$icon or freedesktop icon shopt -s extglob -icon=${1:?'Name or color icon not present'} ; shift +icon=${1:?'Name or color icon is not present'} ; shift desktopEntry='.directory' tmp=$TMPDIR/$desktopEntry-$PPID -echo "icon..: $icon" case $icon in default | black | blue | brown |\ @@ -53,8 +52,6 @@ case $icon in fi esac -echo "icon: $icon" - for dir in "$@" ; do cd "$dir" tag=$(grep 'Icon=.*' $desktopEntry) diff --git a/install.sh b/install.sh index 718c184..51931ed 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,7 @@ # along with this program. If not, see . # # -# Version: 1.2 +# Version: 1.3 # INSTALL: Only run this script shopt -s extglob diff --git a/plasma5-folder-color.desktop b/plasma5-folder-color.desktop index 19e8e03..44c5418 100755 --- a/plasma5-folder-color.desktop +++ b/plasma5-folder-color.desktop @@ -25,7 +25,7 @@ Name[fr]=Icône personnalisée Name[it]=Icona Personalizzata Name[pt]=Ícone personalizado Name[de]=Custom Icon -Exec=dolphin-folder-color.sh custom %U +Exec=dolphin-folder-color.sh custom %U #########################################