diff --git a/daily-psk.capsman b/daily-psk.capsman index a60f41d..33208f5 100644 --- a/daily-psk.capsman +++ b/daily-psk.capsman @@ -14,6 +14,7 @@ :global LogPrintExit; :global SendNotification; +:global SymbolForNotification; :global UrlEncode; :global WaitForFile; :global WaitFullyConnected; @@ -87,7 +88,7 @@ $WaitFullyConnected; :set Attach ""; } - $SendNotification ("daily PSK " . $Ssid) \ + $SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \ ("This is the daily PSK on " . $Identity . ":\n\n" . \ "SSID: " . $Ssid . "\n" . \ "PSK: " . $NewPsk . "\n" . \ diff --git a/daily-psk.local b/daily-psk.local index 0d098a0..13a878e 100644 --- a/daily-psk.local +++ b/daily-psk.local @@ -14,6 +14,7 @@ :global LogPrintExit; :global SendNotification; +:global SymbolForNotification; :global UrlEncode; :global WaitForFile; :global WaitFullyConnected; @@ -87,7 +88,7 @@ $WaitFullyConnected; :set Attach ""; } - $SendNotification ("daily PSK " . $Ssid) \ + $SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \ ("This is the daily PSK on " . $Identity . ":\n\n" . \ "SSID: " . $Ssid . "\n" . \ "PSK: " . $NewPsk . "\n" . \ diff --git a/daily-psk.template b/daily-psk.template index f462fe2..fd5bd2b 100644 --- a/daily-psk.template +++ b/daily-psk.template @@ -15,6 +15,7 @@ :global LogPrintExit; :global SendNotification; +:global SymbolForNotification; :global UrlEncode; :global WaitForFile; :global WaitFullyConnected; @@ -93,7 +94,7 @@ $WaitFullyConnected; :set Attach ""; } - $SendNotification ("daily PSK " . $Ssid) \ + $SendNotification ([ $SymbolForNotification "calendar" ] . "daily PSK " . $Ssid) \ ("This is the daily PSK on " . $Identity . ":\n\n" . \ "SSID: " . $Ssid . "\n" . \ "PSK: " . $NewPsk . "\n" . \ diff --git a/global-functions b/global-functions index ad07a9c..84d8d75 100644 --- a/global-functions +++ b/global-functions @@ -783,6 +783,7 @@ :set SymbolByUnicodeName do={ :local Symbols { "alarm-clock"="\E2\8F\B0"; + "calendar"="\F0\9F\93\85"; "cross-mark"="\E2\9D\8C"; "fire"="\F0\9F\94\A5"; "floppy-disk"="\F0\9F\92\BE";