#!/bin/bash

# omarchy:summary=Install Moonlight (NVIDIA GameStream / Sunshine client) for streaming games to this PC.
# omarchy:requires-sudo=true

set -e

echo "Installing Moonlight..."
omarchy-pkg-add moonlight-qt

setsid gtk-launch com.moonlight_stream.Moonlight.desktop >/dev/null 2>&1 &
