aboutsummaryrefslogtreecommitdiffstats
path: root/cloud-backup
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-07-17 11:22:40 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-07-17 11:22:40 +0200
commite0fe98a27410f415e296bba69c4587847ddd4781 (patch)
tree724a17dbd394e469e34a4920dd018cc2b949b82b /cloud-backup
parent075859c8986827b21c313affa896de814e3ae763 (diff)
cloud-backup: add symbol in notification
Diffstat (limited to 'cloud-backup')
-rw-r--r--cloud-backup3
1 files changed, 2 insertions, 1 deletions
diff --git a/cloud-backup b/cloud-backup
index dd03a98..b85a467 100644
--- a/cloud-backup
+++ b/cloud-backup
@@ -12,6 +12,7 @@
:global DeviceInfo;
:global LogPrintExit;
:global SendNotification;
+:global SymbolForNotification;
:do {
# we are not interested in output, but print without count-only is
@@ -26,7 +27,7 @@
}
:local Cloud [ / system backup cloud get ([ find ]->0) ];
- $SendNotification "Cloud backup" \
+ $SendNotification ([ $SymbolForNotification "floppy-disk" ] . "Cloud backup") \
("Uploaded backup for " . $Identity . " to cloud.\n\n" . \
[ $DeviceInfo ] . "\n\n" . \
"Name: " . $Cloud->"name" . "\n" . \