diff --git a/overlay/etc/cont-init.d/90-configure_neko.sh b/overlay/etc/cont-init.d/90-configure_neko.sh index 6549d70..4df1583 100644 --- a/overlay/etc/cont-init.d/90-configure_neko.sh +++ b/overlay/etc/cont-init.d/90-configure_neko.sh @@ -33,6 +33,10 @@ if ([ "${MODE}" != "s" ] && [ "${MODE}" != "secondary" ]); then # export NEKO_H264="true" # fi # fi + + # Configure screen size if it is not already set + if [[ -z ${NEKO_SCREEN} ]]; then + export NEKO_SCREEN="${DISPLAY_SIZEW}x${DISPLAY_SIZEH}@${DISPLAY_REFRESH}" fi else echo "Disable Neko server"