added XWAYLAND_COUNT
Signed-off-by: Boris Yumankulov <boria138@altlinux.org>
This commit is contained in:
@ -22,7 +22,9 @@ set +a
|
|||||||
|
|
||||||
# Gamescope parameters
|
# Gamescope parameters
|
||||||
: "${OUTPUT_CONNECTOR:=*,eDP-1}"
|
: "${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
|
# Check if NVK driver is in use
|
||||||
if vulkaninfo 2>/dev/null | grep -i "driverName" | grep -q "NVK"; then
|
if vulkaninfo 2>/dev/null | grep -i "driverName" | grep -q "NVK"; then
|
||||||
|
Reference in New Issue
Block a user