From ac9c4f29ca71fdc9d1124e52b89b5a6d02bc9541 Mon Sep 17 00:00:00 2001 From: "Josh.5" Date: Sun, 14 Jul 2024 18:16:11 +1200 Subject: [PATCH] Fix default steam big picture launcher --- overlay/templates/sunshine/apps.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/overlay/templates/sunshine/apps.json b/overlay/templates/sunshine/apps.json index 7706b14..a255773 100644 --- a/overlay/templates/sunshine/apps.json +++ b/overlay/templates/sunshine/apps.json @@ -13,12 +13,13 @@ "image-path": "steam.png", "exclude-global-prep-cmd": "true", "detached": [ - "\/usr\/bin\/sunshine-run \/usr\/games\/steam steam:\/\/open\/bigpicture" + "\/usr\/games\/steam steam:\/\/open\/bigpicture", + "\/usr\/bin\/sunshine-run sleep infinity" ], "prep-cmd": [ { "do": "", - "undo": "sh -c \"sleep 7 && pkill -f -2 \/usr\/bin\/sunshine\"" + "undo": "sh -c \"sleep 5 && pkill -f -2 \/usr\/bin\/sunshine\"" }, { "do": "", @@ -27,6 +28,10 @@ { "do": "", "undo": "\/usr\/bin\/xfce4-close-all-windows" + }, + { + "do": "", + "undo": "\/usr\/games\/steam steam:\/\/close\/bigpicture" } ] }