added XWAYLAND_COUNT

Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
2025-07-11 17:13:59 +05:00
parent db3668adf1
commit cc42d327ee

View File

@ -22,7 +22,9 @@ set +a
# Gamescope parameters
: "${OUTPUT_CONNECTOR:=*,eDP-1}"
GAMESCOPE_PARAMS="--prefer-output $OUTPUT_CONNECTOR"
: "${XWAYLAND_COUNT:=2}"
GAMESCOPE_PARAMS="--prefer-output $OUTPUT_CONNECTOR --xwayland-count $XWAYLAND_COUNT"
# Check if NVK driver is in use
if vulkaninfo 2>/dev/null | grep -i "driverName" | grep -q "NVK"; then