mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Add moonlight game streaming client
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# omarchy:summary=Install Moonlight (NVIDIA GameStream / Sunshine client) for streaming games to this PC.
|
||||||
|
# omarchy:requires-sudo=true
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
omarchy-pkg-add moonlight-qt
|
||||||
|
|
||||||
|
setsid gtk-launch com.moonlight_stream.Moonlight.desktop >/dev/null 2>&1 &
|
||||||
+4
-2
@@ -386,7 +386,7 @@ show_install_ai_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_install_gaming_menu() {
|
show_install_gaming_menu() {
|
||||||
case $(menu "Install" " Steam\n RetroArch\n Minecraft\n NVIDIA GeForce NOW\n Xbox Cloud Gaming\n Xbox Controller ()\n Lutris (Battle.net)\n Heroic (Epic Games)") in
|
case $(menu "Install" " Steam\n RetroArch\n Minecraft\n NVIDIA GeForce NOW\n Xbox Cloud Gaming\n Xbox Controller ()\n Moonlight (GameStream)\n Lutris (Battle.net)\n Heroic (Epic Games)") in
|
||||||
*Steam*) present_terminal omarchy-install-gaming-steam ;;
|
*Steam*) present_terminal omarchy-install-gaming-steam ;;
|
||||||
*RetroArch*) present_terminal omarchy-install-gaming-retroarch ;;
|
*RetroArch*) present_terminal omarchy-install-gaming-retroarch ;;
|
||||||
*Minecraft*) install_and_launch "Minecraft" "minecraft-launcher" "minecraft-launcher" ;;
|
*Minecraft*) install_and_launch "Minecraft" "minecraft-launcher" "minecraft-launcher" ;;
|
||||||
@@ -395,6 +395,7 @@ show_install_gaming_menu() {
|
|||||||
*Xbox*) present_terminal omarchy-install-gaming-xbox-controllers ;;
|
*Xbox*) present_terminal omarchy-install-gaming-xbox-controllers ;;
|
||||||
*Lutris*) present_terminal omarchy-install-gaming-lutris ;;
|
*Lutris*) present_terminal omarchy-install-gaming-lutris ;;
|
||||||
*Heroic*) present_terminal omarchy-install-gaming-heroic ;;
|
*Heroic*) present_terminal omarchy-install-gaming-heroic ;;
|
||||||
|
*Moonlight*) present_terminal omarchy-install-gaming-moonlight ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
@@ -484,13 +485,14 @@ show_remove_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_remove_gaming_menu() {
|
show_remove_gaming_menu() {
|
||||||
case $(menu "Remove" " Steam\n RetroArch\n Minecraft\n NVIDIA GeForce NOW\n Xbox Cloud Gaming\n Xbox Controller ()\n Lutris (Battle.net)\n Heroic (Epic Games)") in
|
case $(menu "Remove" " Steam\n RetroArch\n Minecraft\n NVIDIA GeForce NOW\n Xbox Cloud Gaming\n Xbox Controller ()\n Moonlight (GameStream)\n Lutris (Battle.net)\n Heroic (Epic Games)") in
|
||||||
*Steam*) present_terminal omarchy-remove-gaming-steam ;;
|
*Steam*) present_terminal omarchy-remove-gaming-steam ;;
|
||||||
*RetroArch*) present_terminal omarchy-remove-gaming-retroarch ;;
|
*RetroArch*) present_terminal omarchy-remove-gaming-retroarch ;;
|
||||||
*Minecraft*) present_terminal omarchy-remove-gaming-minecraft ;;
|
*Minecraft*) present_terminal omarchy-remove-gaming-minecraft ;;
|
||||||
*GeForce*) present_terminal omarchy-remove-gaming-geforce-now ;;
|
*GeForce*) present_terminal omarchy-remove-gaming-geforce-now ;;
|
||||||
*"Xbox Cloud"*) present_terminal omarchy-remove-gaming-xbox-cloud ;;
|
*"Xbox Cloud"*) present_terminal omarchy-remove-gaming-xbox-cloud ;;
|
||||||
*Xbox*) present_terminal omarchy-remove-gaming-xbox-controllers ;;
|
*Xbox*) present_terminal omarchy-remove-gaming-xbox-controllers ;;
|
||||||
|
*Moonlight*) present_terminal omarchy-remove-gaming-moonlight ;;
|
||||||
*Lutris*) present_terminal omarchy-remove-gaming-lutris ;;
|
*Lutris*) present_terminal omarchy-remove-gaming-lutris ;;
|
||||||
*Heroic*) present_terminal omarchy-remove-gaming-heroic ;;
|
*Heroic*) present_terminal omarchy-remove-gaming-heroic ;;
|
||||||
*) show_remove_menu ;;
|
*) show_remove_menu ;;
|
||||||
|
|||||||
Executable
+15
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# omarchy:summary=Remove Moonlight and its configs and caches.
|
||||||
|
# omarchy:requires-sudo=true
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
omarchy-pkg-drop moonlight-qt
|
||||||
|
|
||||||
|
rm -rf \
|
||||||
|
"$HOME/.config/Moonlight Game Streaming Project" \
|
||||||
|
"$HOME/.cache/Moonlight Game Streaming Project"
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
echo "Moonlight and its data have been removed."
|
||||||
Reference in New Issue
Block a user