#!/bin/bash

# omarchy:summary=Install Xbox Cloud Gaming as a web app and launch it.
# omarchy:group=install
# omarchy:name=gaming xbox-cloud

set -e

echo "Installing Xbox Cloud Gaming..."
omarchy-webapp-install "Xbox Cloud Gaming" "https://www.xbox.com/en-US/play" "https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/xbox.png"

setsid omarchy-launch-webapp "https://www.xbox.com/en-US/play" >/dev/null 2>&1 &
