summaryrefslogtreecommitdiff
path: root/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'main.js')
-rw-r--r--main.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/main.js b/main.js
index bfea6ad..45f5cb0 100644
--- a/main.js
+++ b/main.js
@@ -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: []
});