diff options
author | Christian Hesse <mail@eworm.de> | 2020-07-17 11:22:40 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2020-07-17 11:22:40 +0200 |
commit | e0fe98a27410f415e296bba69c4587847ddd4781 (patch) | |
tree | 724a17dbd394e469e34a4920dd018cc2b949b82b | |
parent | 075859c8986827b21c313affa896de814e3ae763 (diff) |
cloud-backup: add symbol in notification
-rw-r--r-- | cloud-backup | 3 | ||||
-rw-r--r-- | global-functions | 1 |
2 files changed, 3 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" . \ diff --git a/global-functions b/global-functions index 0eb0e4c..5304e53 100644 --- a/global-functions +++ b/global-functions @@ -738,6 +738,7 @@ :local Symbols { "cross-mark"="\E2\9D\8C"; "fire"="\F0\9F\94\A5"; + "floppy-disk"="\F0\9F\92\BE"; "high-voltage-sign"="\E2\9A\A1"; "incoming-envelope"="\F0\9F\93\A8"; "sparkles"="\E2\9C\A8"; |