diff --git a/src_assets/common/assets/web/apps.html b/src_assets/common/assets/web/apps.html index 8525749092e..f963f57568d 100644 --- a/src_assets/common/assets/web/apps.html +++ b/src_assets/common/assets/web/apps.html @@ -14,28 +14,38 @@
|
- |
-
- |
-
- |
- - |
|---|---|---|---|
|
-
-
-
- |
-
-
-
-
- |
-
- |
-
- |
-
|
+ |
+
+ |
+
+ |
+ + |
|---|---|---|---|
|
+
+
+
+ |
+
+
+
+
+ |
+
+ |
+
+ |
+
| {{ $t('apps.env_var_name') }} | ++ |
| SUNSHINE_APP_ID | +{{ $t('apps.env_app_id') }} | +
| SUNSHINE_APP_NAME | +{{ $t('apps.env_app_name') }} | +
| SUNSHINE_CLIENT_WIDTH | +{{ $t('apps.env_client_width') }} | +
| SUNSHINE_CLIENT_HEIGHT | +{{ $t('apps.env_client_height') }} | +
| SUNSHINE_CLIENT_FPS | +{{ $t('apps.env_client_fps') }} | +
| SUNSHINE_CLIENT_HDR | +{{ $t('apps.env_client_hdr') }} | +
| SUNSHINE_CLIENT_GCMAP | +{{ $t('apps.env_client_gcmap') }} | +
| SUNSHINE_CLIENT_HOST_AUDIO | +{{ $t('apps.env_client_host_audio') }} | +
| SUNSHINE_CLIENT_ENABLE_SOPS | +{{ $t('apps.env_client_enable_sops') }} | +
| SUNSHINE_CLIENT_AUDIO_CONFIGURATION | +{{ $t('apps.env_client_audio_config') }} | +
cmd /C <{{ $t('apps.env_qres_path') }}>\QRes.exe /X:%SUNSHINE_CLIENT_WIDTH% /Y:%SUNSHINE_CLIENT_HEIGHT% /R:%SUNSHINE_CLIENT_FPS%
+ sh -c "xrandr --output HDMI-1 --mode \"${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}\" --rate ${SUNSHINE_CLIENT_FPS}"
+ sh -c "displayplacer "id:<screenId> res:${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT} hz:${SUNSHINE_CLIENT_FPS} scaling:on origin:(0,0) degree:0""
+ | {{ $t('apps.env_var_name') }} | -- |
| SUNSHINE_APP_ID | -{{ $t('apps.env_app_id') }} | -
| SUNSHINE_APP_NAME | -{{ $t('apps.env_app_name') }} | -
| SUNSHINE_CLIENT_WIDTH | -{{ $t('apps.env_client_width') }} | -
| SUNSHINE_CLIENT_HEIGHT | -{{ $t('apps.env_client_height') }} | -
| SUNSHINE_CLIENT_FPS | -{{ $t('apps.env_client_fps') }} | -
| SUNSHINE_CLIENT_HDR | -{{ $t('apps.env_client_hdr') }} | -
| SUNSHINE_CLIENT_GCMAP | -{{ $t('apps.env_client_gcmap') }} | -
| SUNSHINE_CLIENT_HOST_AUDIO | -{{ $t('apps.env_client_host_audio') }} | -
| SUNSHINE_CLIENT_ENABLE_SOPS | -{{ $t('apps.env_client_enable_sops') }} | -
| SUNSHINE_CLIENT_AUDIO_CONFIGURATION | -{{ $t('apps.env_client_audio_config') }} | -
cmd /C <{{ $t('apps.env_qres_path') }}>\QRes.exe /X:%SUNSHINE_CLIENT_WIDTH% /Y:%SUNSHINE_CLIENT_HEIGHT% /R:%SUNSHINE_CLIENT_FPS%
+ sh -c "xrandr --output HDMI-1 --mode \"${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT}\" --rate ${SUNSHINE_CLIENT_FPS}"
+ sh -c "displayplacer "id:<screenId> res:${SUNSHINE_CLIENT_WIDTH}x${SUNSHINE_CLIENT_HEIGHT} hz:${SUNSHINE_CLIENT_FPS} scaling:on origin:(0,0) degree:0""
+