fix(waydroid): waydroid-launcher script (#772)

Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com>
This commit is contained in:
Aarron Lee 2024-02-14 22:19:20 -05:00 committed by GitHub
parent 515b79fb40
commit 0b14aaefc6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,7 @@ fi
# Launch Cage & Waydroid
pkexec /usr/libexec/waydroid-container-start
if [ -z "$(pgrep wlr-randr)" ]; then
cage -- bash -c "wlr-randr --output X11-1 --custom-mode ${WAYDROID_WIDTH:-1280}x${WAYDROID_HEIGHT:-800}; sleep 1; waydroid show-full-ui &> /dev/null &"
cage -- bash -c "wlr-randr --output X11-1 --custom-mode ${WAYDROID_WIDTH:-1280}x${WAYDROID_HEIGHT:-800}; sleep 1; waydroid show-full-ui &> /dev/null &" &
fi
# Fix controllers, we know Waydroid has started because surfaceflinger is running