Last active
August 8, 2025 04:01
-
-
Save Ast3risk-ops/208020093bc380d0cdb9e1e181eca257 to your computer and use it in GitHub Desktop.
My personal modifications to the official Waydroid on X11 script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| if [ "$(systemctl is-active waydroid-container.service)" == 'active' ];then | |
| killall -9 weston | |
| sudo systemctl stop waydroid-container.service | |
| exit | |
| fi | |
| killall -9 weston | |
| sudo systemctl restart waydroid-container.service | |
| if [ -z "$(pgrep weston)" ]; then | |
| weston --xwayland &> /dev/null & | |
| fi | |
| sleep 2 && | |
| export XDG_SESSION_TYPE='wayland' | |
| export DISPLAY=':1' | |
| export WAYLAND_DISPLAY='wayland-1' | |
| konsole --new-tab --hide-tabbar --hide-menubar -e '/usr/bin/waydroid show-full-ui' & | |
| while [ -n "$(pgrep weston)" ];do | |
| sleep 1 | |
| done | |
| sudo systemctl stop waydroid-container.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment