waywes is a script made to ease the launch process of Waydroid in X11 by using Weston compositor with different window modes like fullscreen, windowed and mobile portrait.

- waydroid
- weston
- git
- Clone the repo
git clone https://github.com/KSMaan45/waywes.git- Change directory
cd waywes- Make script executable
chmod +x waywes.sh- Execute script
./waywes.shWith shell
alias waywes='/path/to/waywes.sh'add above line in your default shell config file such as .bashrc for bash or .zshrc for zsh, restart your shell and now you can start script with just waywes from any directory
With $PATH directory
cp /path/to/waywes.sh $HOME/.local/binafter copying to $HOME/.local/bin you can just run waywes.sh from any directory
| Options | Description |
|---|---|
| 1 | Start waydroid in 1366x768 resolution in fullscreen |
| 2 | Start waydroid in 1920x1080 resolution in fullscreen |
| 3 | Start waydroid with Edge to Edge width in windowed mode recommended for 720p display |
| 4 | Start waydroid with Edge to Edge width in windowed mode recommended for 1080p display |
| 5 | Start waydroid in tablet mode suitable for HD 720p display |
| 6 | Start waydroid in tablet mode suitable for Full HD 1080p display |
| 7 | Useful when some app force to be in portrait and look tilted or you just want to run waydroid like mobile recommended for HD 720p display |
| 8 | Useful when some app force to be in portrait and look tilted or you just want to run waydroid like mobile recommended for Full HD 1080p display |
| 9 | Custom resolution like 1280x720 just input in WIDTHxHEIGHT fields and type 1 for fullscreen or 0 for normal window |
Since i can not add all the resolutions but the one widely used and tested by me are added in the script, if you want to add your own edit waywes.sh with any text editor and make changes to such as 1) RES="1366x768" FS="--fullscreen" ;; with your desire resolution, Example for 2560x1440 resolution it will be like 1) RES="2560x1440" FS="--fullscreen" ;; if you don't need fullscreen keep as FS="" also make changes in select resolution echo block accordingly.




