Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
feat(yafti): add waydroid setup procedure into default yafti file
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Jul 22, 2023
1 parent ec9f056 commit 36b42b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
6 changes: 5 additions & 1 deletion usr/share/ublue-os/firstboot/yafti.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ screens:
default: false
packages:
- Install Nix Package Support: pkexec ublue-nix-install
Waydroid:
description: Android support with GApps, ARM translation, and Widevine out of the box
default: true
packages:
- Setup remotes: just --unstable setup waydroid
Remote:
description: Sets up proper remote access to this system!
default: true
Expand All @@ -43,7 +48,6 @@ screens:
default: true
packages:
- Setup remotes: just --unstable setup dotfiles

Ubuntu Theming:
description: Makes it so the Ubuntu theming is properly set up
default: true
Expand Down
12 changes: 8 additions & 4 deletions usr/share/ublue-os/just/setup.just
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
waydroid:
pkexec waydroid init -s GAPPS -c https://ota.waydro.id/system -v https://ota.waydro.id/vendor
pkexec sh -c 'git clone https://github.com/casualsnek/waydroid_script /tmp/wrscript && python3 -m venv /tmp/wrscript/venv && /tmp/wrscript/venv/bin/pip install -r /tmp/wrscript/requirements.txt && /tmp/wrscript/venv/bin/python3 /tmp/wrscript/main.py -a 11 install smartdock libndk widevine && /tmp/wrscript/venv/bin/python3 /tmp/wrscript/main.py -a 11 hack hidestatusbar'

fish:
sudo usermod -s /usr/bin/fish $USER
pkexec usermod -s /usr/bin/fish $USER
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish
fish -c 'omf install bobthefish'

Expand All @@ -16,10 +20,10 @@ remotes:
pkexec tailscale up

dconf:
sudo dconf update
pkexec dconf update

positivo-touchscreen:
printf 'SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{WL_OUTPUT}="silead_ts", ENV{LIBINPUT_CALIBRATION_MATRIX}="2.0994971271086835 0.0 -0.009475882227217559 0.0 3.2251959199264215 -0.002555450541782298 0.0 0.0 1.0"' | sudo tee -a /etc/udev/rules.d/99-positivo-touchscreen.rules
printf 'SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", ENV{WL_OUTPUT}="silead_ts", ENV{LIBINPUT_CALIBRATION_MATRIX}="2.0994971271086835 0.0 -0.009475882227217559 0.0 3.2251959199264215 -0.002555450541782298 0.0 0.0 1.0"' | pkexec tee -a /etc/udev/rules.d/99-positivo-touchscreen.rules

nimbus:
distrobox create -i ghcr.io/tulilirockz/nimbus:latest -n nimbus -Y
Expand All @@ -28,4 +32,4 @@ nimbus:

gamebox:
distrobox create -i ghcr.io/ublue-os/bazzite-arch:latest -n gamebox -Y
distrobox-enter -n gamebox -- 'distrobox-export --app steam ; distrobox export --app lutris ; distrobox-export --bin protontricks ; distrobox-export --bin lutris'
distrobox-enter -n gamebox -- 'distrobox-export --app steam ; distrobox export --app lutris ; distrobox-export --bin protontricks ; distrobox-export --bin lutris'

0 comments on commit 36b42b7

Please sign in to comment.