diff options
-rw-r--r-- | .idea/vcs.xml | 6 | ||||
-rw-r--r-- | main.js | 8 |
2 files changed, 13 insertions, 1 deletions
diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="VcsDirectoryMappings"> + <mapping directory="" vcs="Git" /> + </component> +</project>
\ No newline at end of file @@ -70,7 +70,8 @@ function encryptClipboard() { let notification = new Notification({ title: "Text successfully encrypted", - body: "A GPG encrypted message for " + selectedRecipients.length + " recipient" + (selectedRecipients.length > 1 ? "s" : "") + " has been encrypted and copied.", + body: "A message for " + selectedRecipients.length + " recipient" + (selectedRecipients.length > 1 ? "s" : "") + " has been encrypted and copied.", + sound: "Frog.aiff", actions: [] }); @@ -79,6 +80,7 @@ function encryptClipboard() { let notification = new Notification({ title: "Failed to encrypt GPG message", body: "The text found in the clipboard could not be encrypted.", + sound: "Sosumi.aiff", actions: [] }); @@ -90,6 +92,7 @@ function encryptClipboard() { let notification = new Notification({ title: "Cannot encrypt GPG message", body: "You have not selected any recipients, therefore encryption is not possible.", + sound: "Sosumi.aiff", actions: [] }); @@ -161,6 +164,7 @@ function detectClipboard() { title: "GPG encrypted message found", body: "A GPG message from " + signature + " has been decrypted and copied to your clipboard.", hasReply: true, + sound: "Frog.aiff", replyPlaceholder: "Reply and copy" }); } else { @@ -168,6 +172,7 @@ function detectClipboard() { title: "GPG encrypted message found", body: "An anonymous GPG message has been decrypted and copied to your clipboard.", hasReply: true, + sound: "Frog.aiff", replyPlaceholder: "Reply and copy" }); } @@ -182,6 +187,7 @@ function detectClipboard() { let notification = new Notification({ title: "Failed to decrypt GPG message", body: "The GPG message found in the clipboard could not be decrypted.", + sound: "Sosumi.aiff", actions: [] }); |