Skip to content

Commit

Permalink
feat: Add option to enable desktop integration for Waydroid
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed May 16, 2024
1 parent 1d2a513 commit 0e8f77d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ setup-waydroid ACTION="":
echo " Use 'init' to select Initialize Waydroid"
echo " Use 'configure' to select Configure Waydroid"
echo " Use 'gpu' to choose Select GPU for Waydroid"
echo " Use 'integration' to enable desktop window integration for Waydroid"
echo " Use 'reset' to select Configure Waydroid"
exit 0
elif [ "$OPTION" == "" ]; then
Expand All @@ -38,6 +39,8 @@ setup-waydroid ACTION="":
sudo rm -rf /tmp/waydroid_script
elif [[ "${OPTION,,}" =~ gpu ]]; then
sudo /usr/bin/waydroid-choose-gpu
elif [[ "${OPTION,,}" =~ integration ]]; then
waydroid prop set persist.waydroid.multi_windows true
elif [[ "${OPTION,,}" =~ ^reset ]]; then
echo "Resetting Waydroid"
bash -c 'sudo rm -rf /var/lib/waydroid /home/.waydroid ~/waydroid ~/.share/waydroid ~/.local/share/applications/*aydroid* ~/.local/share/waydroid'
Expand Down

0 comments on commit 0e8f77d

Please sign in to comment.