Replies: 3 comments
-
|
@JustSaX, have you made any progress on adding Microsoft Teams Notifications in SketchyBar? |
Beta Was this translation helpful? Give feedback.
-
|
I was able to get it working doing this. `#!/bin/bash Check if Microsoft Teams is runningTEAMS_RUNNING=$(pgrep -x "MSTeams" > /dev/null && echo "true" || echo "false") if [ "$TEAMS_RUNNING" = "false" ]; then Get notification count from Dock badgeNOTIFICATION_COUNT=$(osascript -e ' Clean up the notification count (remove non-numeric characters and whitespace)NOTIFICATION_COUNT=$(echo "$NOTIFICATION_COUNT" | tr -cd '0-9') Default to 0 if emptyif [ -z "$NOTIFICATION_COUNT" ]; then Update the widgetif [ "$NOTIFICATION_COUNT" -gt 0 ]; then |
Beta Was this translation helpful? Give feedback.
-
|
thanks @JustSaX. I’ll give it a go in the near future! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Was someone able to display Microsoft Teams notifications in the status bar? I would like to have the person/chat in the status bar who send me a Teams message. I don't want the message content. I just want to know who is the sender or in which chat it was sent.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions