From 035ce29f03bdd97a09af80ef5f2d22d7a98930d6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 4 Oct 2026 14:02:56 -0400 Subject: [PATCH] Add Install > Service > Microsoft with Outlook, Office, and Teams web apps (#10367) * Add Install > Service > Microsoft with Outlook, Office, and Teams web apps Co-Authored-By: Claude Fable 5.1 * Prefix the Microsoft web apps with the brand so they sit together in the launcher Co-Authored-By: Claude Fable 5.1 * Open the Office web app at the sign-in page office.com now forwards to the Microsoft 365 marketing site when signed out, while Outlook and Teams open straight to sign-in. The login path does the same for Office. Co-Authored-By: Claude Fable 5.1 * Add Microsoft OneDrive to the Microsoft web apps Co-Authored-By: Claude Fable 5.1 * Point the Teams web app at teams.cloud.microsoft Microsoft moved Teams to its cloud.microsoft domain; teams.microsoft.com is the legacy address now. Co-Authored-By: Claude Fable 5.1 * Document Microsoft web app customization Explain individual app selection, organization-specific URLs, and a separate browser profile using existing launcher options. Keep the optional bundle separate from the manual's default apps. Co-Authored-By: GPT-6 in Codex Co-Authored-By: Claude Opus 5.5 Medium --------- Co-authored-by: Claude Fable 5.1 Co-authored-by: Omarchy Bot Co-authored-by: GPT-6 in Codex --- bin/omarchy-install-service-microsoft | 22 ++++++++++++++++++++++ bin/omarchy-remove-service-microsoft | 14 ++++++++++++++ default/omarchy/omarchy-menu.jsonc | 2 ++ manual/25-web-apps.md | 16 ++++++++++++++++ 4 files changed, 54 insertions(+) create mode 100755 bin/omarchy-install-service-microsoft create mode 100755 bin/omarchy-remove-service-microsoft diff --git a/bin/omarchy-install-service-microsoft b/bin/omarchy-install-service-microsoft new file mode 100755 index 00000000..ecf45bf1 --- /dev/null +++ b/bin/omarchy-install-service-microsoft @@ -0,0 +1,22 @@ +#!/bin/bash + +# omarchy:summary=Install Microsoft Outlook, Office, Teams, and OneDrive as web apps. + +set -e + +ICONS="https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png" + +echo "Installing Microsoft Outlook..." +omarchy-webapp-install "Microsoft Outlook" "https://outlook.office.com/mail/" "$ICONS/microsoft-outlook.png" + +echo "Installing Microsoft Office..." +omarchy-webapp-install "Microsoft Office" "https://www.office.com/login" "$ICONS/microsoft-office.png" + +echo "Installing Microsoft Teams..." +omarchy-webapp-install "Microsoft Teams" "https://teams.cloud.microsoft/" "$ICONS/microsoft-teams.png" + +echo "Installing Microsoft OneDrive..." +omarchy-webapp-install "Microsoft OneDrive" "https://www.office.com/launch/onedrive" "$ICONS/microsoft-onedrive.png" + +echo "" +echo "You can now find Microsoft Outlook, Office, Teams, and OneDrive using the app launcher (SUPER + SPACE)" diff --git a/bin/omarchy-remove-service-microsoft b/bin/omarchy-remove-service-microsoft new file mode 100755 index 00000000..f8c0e103 --- /dev/null +++ b/bin/omarchy-remove-service-microsoft @@ -0,0 +1,14 @@ +#!/bin/bash + +# omarchy:summary=Remove the Microsoft Outlook, Office, Teams, and OneDrive web apps. + +set -e + +for app in "Microsoft Outlook" "Microsoft Office" "Microsoft Teams" "Microsoft OneDrive"; do + if [[ -f "$HOME/.local/share/applications/$app.desktop" ]]; then + omarchy-webapp-remove "$app" + fi +done + +echo "" +echo "Microsoft Outlook, Office, Teams, and OneDrive have been removed." diff --git a/default/omarchy/omarchy-menu.jsonc b/default/omarchy/omarchy-menu.jsonc index 36518d09..e5eb339a 100644 --- a/default/omarchy/omarchy-menu.jsonc +++ b/default/omarchy/omarchy-menu.jsonc @@ -231,6 +231,7 @@ "install.service.nordvpn": {"icon":"󱇱","label":"NordVPN","disabled":"omarchy-pkg-present nordvpn-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-nordvpn"}, "install.service.once": {"icon":"󰏖","label":"ONCE","disabled":"omarchy-pkg-present once-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-once"}, "install.service.bitwarden": {"icon":"󰟵","label":"Bitwarden","disabled":"omarchy-pkg-present bitwarden","action":"omarchy-install-and-launch Bitwarden 'bitwarden bitwarden-cli' bitwarden"}, + "install.service.microsoft": {"icon":"󰍲","label":"Microsoft","disabled":"[[ -f \"$HOME/.local/share/applications/Microsoft Outlook.desktop\" && -f \"$HOME/.local/share/applications/Microsoft Office.desktop\" && -f \"$HOME/.local/share/applications/Microsoft Teams.desktop\" && -f \"$HOME/.local/share/applications/Microsoft OneDrive.desktop\" ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-service-microsoft"}, "install.service.chromium-account": {"icon":"","label":"Chromium Account","when":"[[ -f ~/.config/chromium-flags.conf ]]","disabled":"grep -q oauth2-client-id ~/.config/chromium-flags.conf","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-chromium-google-account"}, "install.editor.vscode": {"icon":"","label":"VSCode","disabled":"omarchy-pkg-present visual-studio-code-bin","action":"omarchy-launch-floating-terminal-with-presentation omarchy-install-editor-vscode"}, "install.editor.cursor": {"icon":"","iconFont":"omarchy","label":"Cursor","disabled":"omarchy-pkg-present cursor-bin","action":"omarchy-install-and-launch Cursor cursor-bin cursor"}, @@ -312,6 +313,7 @@ "remove.browser.zen": {"icon":"","label":"Zen","when":"omarchy-pkg-present zen-browser-bin","action":"omarchy-launch-floating-terminal-with-presentation 'omarchy-remove-browser zen'"}, "remove.service.dropbox": {"icon":"","label":"Dropbox","when":"omarchy-pkg-present dropbox","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-dropbox"}, "remove.service.tailscale": {"icon":"","label":"Tailscale","when":"omarchy-pkg-present tailscale","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-tailscale"}, + "remove.service.microsoft": {"icon":"󰍲","label":"Microsoft","when":"[[ -f \"$HOME/.local/share/applications/Microsoft Outlook.desktop\" || -f \"$HOME/.local/share/applications/Microsoft Office.desktop\" || -f \"$HOME/.local/share/applications/Microsoft Teams.desktop\" || -f \"$HOME/.local/share/applications/Microsoft OneDrive.desktop\" ]]","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-microsoft"}, "remove.service.ssh-agent": {"icon":"󰣀","label":"SSH Agent","when":"systemctl --user -q is-enabled gcr-ssh-agent.socket","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-service-ssh-agent"}, "remove.ai.chatgpt": {"icon":"","iconFont":"omarchy","label":"ChatGPT Desktop","when":"omarchy-pkg-present openai-codex-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-chatgpt"}, "remove.ai.claude": {"icon":"","iconFont":"omarchy","label":"Claude Desktop","when":"omarchy-pkg-present claude-desktop","action":"omarchy-launch-floating-terminal-with-presentation omarchy-remove-ai-claude"}, diff --git a/manual/25-web-apps.md b/manual/25-web-apps.md index f5333ac8..2bc55b7d 100644 --- a/manual/25-web-apps.md +++ b/manual/25-web-apps.md @@ -73,3 +73,19 @@ You start Zoom using the application launcher (`Super + Space`). [Discord](https://discord.com/) is where most gaming and open source communities hang out, including [Omarchy's own](https://discord.gg/tXFUdasqhY). You start Discord using the application launcher (`Super + Space`). + +## Microsoft apps + +Select _Install > Service > Microsoft_ to add Outlook, Office, Teams, and OneDrive as web apps. These use the commercial Microsoft 365 URLs and your existing browser profile. They open in the same browser app windows as Omarchy's other web apps; they do not install the separate Teams for Linux client. + +Remove the bundle with _Remove > Service > Microsoft_, or remove individual apps with _Remove > Web App_. You can also install just the apps you want through _Install > Web App_. + +For a government or sovereign cloud, edit the URL on the `Exec=` line in the relevant launcher under `~/.local/share/applications/`, such as `Microsoft Teams.desktop`, using the URL supplied by your organization. Write any literal `%` in that line as `%%`. Changes apply on the next launch. Running the bundle installer again replaces its launchers with the default URLs. + +To keep work sign-ins separate, append a browser data directory to each launcher's `Exec=` line: + +```ini +Exec=omarchy-launch-webapp "https://teams.cloud.microsoft/" --user-data-dir=/absolute/path/to/work-browser-profile +``` + +Replace the example directory with an absolute path of your choice and use the same path for all four launchers to share work sign-ins between them. The web apps use Omarchy's selected supported browser, falling back to Chromium when the default browser is unsupported.