everything is almost ready

This commit is contained in:
João Azevedo 2020-02-13 23:05:24 +01:00
parent d980e8e231
commit 5b32056409
No known key found for this signature in database
GPG Key ID: 70718D0922DB3F93
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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