feat: Add scrcpy to just and yafti

This commit is contained in:
Kyle Gospodnetich 2023-09-23 14:07:57 -07:00
parent d28a0393f8
commit 86ac62be24
4 changed files with 28 additions and 0 deletions

View File

@ -81,6 +81,11 @@ screens:
default: false
packages:
- Install Resilio Sync: just --unstable install-resilio-sync
scrcpy:
description: scrcpy provides display and control of Android devices connected on USB (or over TCP/IP)
default: false
packages:
- Install Resilio Sync: just --unstable install-scrcpy
SteamCMD:
description: Installs SteamCMD
default: true

View File

@ -97,3 +97,12 @@ install-resilio-sync:
rm -f ~/.config/systemd/user/fedora-resilio-sync.service && \
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/resilio_sync/fedora-resilio-sync.service -O ~/.config/systemd/user/fedora-resilio-sync.service && \
systemctl enable --user --now fedora-resilio-sync.service
# Install scrcpy, a utility that mirrors Android devices (video and audio) connected via USB or over TCP/IP
install-scrcpy:
if grep -qvz "fedora" <<< $(distrobox list); then \
distrobox create --nvidia --image ghcr.io/ublue-os/fedora-distrobox:latest -n fedora -Y; \
fi && \
distrobox enter -n fedora -- bash -c 'sudo dnf copr enable -y zeno/scrcpy && \
sudo dnf install -y scrcpy && \
distrobox-export --app scrcpy'

View File

@ -62,6 +62,11 @@ screens:
default: false
packages:
- Install Resilio Sync: just --unstable install-resilio-sync
scrcpy:
description: scrcpy provides display and control of Android devices connected on USB (or over TCP/IP)
default: false
packages:
- Install Resilio Sync: just --unstable install-scrcpy
amd-additions:
source: yafti.screen.package
values:

View File

@ -134,3 +134,12 @@ install-resilio-sync:
rm -f ~/.config/systemd/user/fedora-resilio-sync.service && \
wget https://raw.githubusercontent.com/ublue-os/bazzite/main/post_install_files/resilio_sync/fedora-resilio-sync.service -O ~/.config/systemd/user/fedora-resilio-sync.service && \
systemctl enable --user --now fedora-resilio-sync.service
# Install scrcpy, a utility that mirrors Android devices (video and audio) connected via USB or over TCP/IP
install-scrcpy:
if grep -qvz "fedora" <<< $(distrobox list); then \
distrobox create --nvidia --image ghcr.io/ublue-os/fedora-distrobox:latest -n fedora -Y; \
fi && \
distrobox enter -n fedora -- bash -c 'sudo dnf copr enable -y zeno/scrcpy && \
sudo dnf install -y scrcpy && \
distrobox-export --app scrcpy'