Fix default steam big picture launcher

This commit is contained in:
Josh.5
2024-07-14 18:16:11 +12:00
parent 336a6284ec
commit ac9c4f29ca

View File

@@ -13,12 +13,13 @@
"image-path": "steam.png", "image-path": "steam.png",
"exclude-global-prep-cmd": "true", "exclude-global-prep-cmd": "true",
"detached": [ "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": [ "prep-cmd": [
{ {
"do": "", "do": "",
"undo": "sh -c \"sleep 7 && pkill -f -2 \/usr\/bin\/sunshine\"" "undo": "sh -c \"sleep 5 && pkill -f -2 \/usr\/bin\/sunshine\""
}, },
{ {
"do": "", "do": "",
@@ -27,6 +28,10 @@
{ {
"do": "", "do": "",
"undo": "\/usr\/bin\/xfce4-close-all-windows" "undo": "\/usr\/bin\/xfce4-close-all-windows"
},
{
"do": "",
"undo": "\/usr\/games\/steam steam:\/\/close\/bigpicture"
} }
] ]
} }