Added activity icon variables

pull/8/head
Danny de Vries 4 years ago
parent a4c1191511
commit 6b7b2c8240

@ -37,6 +37,10 @@ $lgOffline = "Offline"
$lgNotInACall = "Not in a call" $lgNotInACall = "Not in a call"
$lgInACall = "In a call" $lgInACall = "In a call"
# Set icons to use for call activity
$iconInACall = "mdi:phone-in-talk-outline"
$iconNotInACall = "mdi:phone-off"
################################################################ ################################################################
# Don't edit the code below, unless you know what you're doing # # Don't edit the code below, unless you know what you're doing #
################################################################ ################################################################
@ -116,13 +120,13 @@ Else {
If ($TeamsActivity -like "*Resuming daemon App updates*" -or ` If ($TeamsActivity -like "*Resuming daemon App updates*" -or `
$TeamsActivity -like "*SfB:TeamsNoCall*") { $TeamsActivity -like "*SfB:TeamsNoCall*") {
$Activity = $lgNotInACall $Activity = $lgNotInACall
$ActivityIcon = "mdi:phone-off" $ActivityIcon = $iconNotInACall
Write-Host $Activity Write-Host $Activity
} }
ElseIf ($TeamsActivity -like "*Pausing daemon App updates*" -or ` ElseIf ($TeamsActivity -like "*Pausing daemon App updates*" -or `
$TeamsActivity -like "*SfB:TeamsActiveCall*") { $TeamsActivity -like "*SfB:TeamsActiveCall*") {
$Activity = $lgInACall $Activity = $lgInACall
$ActivityIcon = "mdi:phone-in-talk-outline" $ActivityIcon = $iconInACall
Write-Host $Activity Write-Host $Activity
} }

Loading…
Cancel
Save