Set neko default screen size based on current configured screen size

This commit is contained in:
Josh.5
2022-09-17 20:42:50 +12:00
committed by Josh Sunnex
parent 686f76bc95
commit 38d9442c7d

View File

@@ -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"