diff --git a/contacts-importer.desktop b/contacts-importer.desktop index 983ae0f..c5d60a5 100644 --- a/contacts-importer.desktop +++ b/contacts-importer.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Name=Contacts Importer Type=Application -Icon=/home/purism/bin/contacts-import/reader.svg -Exec=/home/purism/bin/contacts-import/importer +Icon=system-shutdown +Exec=importer Categories=Utility; diff --git a/contacts-importer.sh b/contacts-importer.sh index d781244..95201a7 100644 --- a/contacts-importer.sh +++ b/contacts-importer.sh @@ -15,9 +15,9 @@ CONTROL="text/vcard" if [[ "$MIMETYPE" == "$CONTROL" ]]; then notify-send "File is a vcard. Ok importing..." && sleep 2s else - clear + clear `yad --title "Import Contacts" --text= "File is not a vcard! ABORT NOW!!"` - sleep 5s && exit 0 + sleep 5s && exit 0 fi #Begin importing contacts