Add xbox cloud gaming as an option
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# omarchy:summary=Install Xbox Cloud Gaming as a web app and launch it.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
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 &
|
||||||
+4
-2
@@ -386,12 +386,13 @@ show_install_ai_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_install_gaming_menu() {
|
show_install_gaming_menu() {
|
||||||
case $(menu "Install" " Steam\n RetroArch\n Minecraft\n Battle.net\n NVIDIA GeForce NOW\n Xbox Controller ()") in
|
case $(menu "Install" " Steam\n RetroArch\n Minecraft\n Battle.net\n NVIDIA GeForce NOW\n Xbox Cloud Gaming\n Xbox Controller ()") 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" ;;
|
||||||
*Battle.net*) present_terminal omarchy-install-gaming-battlenet ;;
|
*Battle.net*) present_terminal omarchy-install-gaming-battlenet ;;
|
||||||
*GeForce*) present_terminal omarchy-install-gaming-geforce-now ;;
|
*GeForce*) present_terminal omarchy-install-gaming-geforce-now ;;
|
||||||
|
*"Xbox Cloud"*) present_terminal omarchy-install-gaming-xbox-cloud ;;
|
||||||
*Xbox*) present_terminal omarchy-install-gaming-xbox-controllers ;;
|
*Xbox*) present_terminal omarchy-install-gaming-xbox-controllers ;;
|
||||||
*) show_install_menu ;;
|
*) show_install_menu ;;
|
||||||
esac
|
esac
|
||||||
@@ -482,12 +483,13 @@ show_remove_menu() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_remove_gaming_menu() {
|
show_remove_gaming_menu() {
|
||||||
case $(menu "Remove" " Steam\n RetroArch\n Minecraft\n Battle.net\n NVIDIA GeForce NOW\n Xbox Controller") in
|
case $(menu "Remove" " Steam\n RetroArch\n Minecraft\n Battle.net\n NVIDIA GeForce NOW\n Xbox Cloud Gaming\n Xbox Controller") 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 ;;
|
||||||
*Battle.net*) present_terminal omarchy-remove-gaming-battlenet ;;
|
*Battle.net*) present_terminal omarchy-remove-gaming-battlenet ;;
|
||||||
*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*) present_terminal omarchy-remove-gaming-xbox-controllers ;;
|
*Xbox*) present_terminal omarchy-remove-gaming-xbox-controllers ;;
|
||||||
*) show_remove_menu ;;
|
*) show_remove_menu ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
Executable
+7
@@ -0,0 +1,7 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# omarchy:summary=Remove the Xbox Cloud Gaming web app.
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
omarchy-webapp-remove "Xbox Cloud Gaming"
|
||||||
Reference in New Issue
Block a user