#!/bin/bash

# omarchy:summary=Remove the Microsoft Outlook, Word, Excel, PowerPoint, Teams, and OneDrive web apps.

set -e

for app in "Microsoft Outlook" "Microsoft Word" "Microsoft Excel" "Microsoft PowerPoint" "Microsoft Teams" "Microsoft OneDrive"; do
  if [[ -f "$HOME/.local/share/applications/$app.desktop" ]]; then
    omarchy-webapp-remove "$app"
  fi
done

echo ""
echo "Microsoft Outlook, Word, Excel, PowerPoint, Teams, and OneDrive have been removed."
