1
0
mirror of https://github.com/ublue-os/bazzite.git synced 2025-03-14 01:18:40 +00:00

feat(just): add service toggle to sunshine

This commit is contained in:
HikariKnight 2024-02-14 02:09:51 +01:00
parent c893ac7a02
commit e681827456

@ -88,8 +88,12 @@ setup-sunshine ACTION="":
ublue-update --wait ublue-update --wait
rpm-ostree remove -y sunshine rpm-ostree remove -y sunshine
echo "Sunshine has been uninstalled." echo "Sunshine has been uninstalled."
elif [[ "${OPTION,,}" =~ ^autostart ]]; then elif [[ "${OPTION,,}" =~ autostart ]]; then
systemctl enable --user --now sunshine.service if [[ "${SERVICE_STATE,,}" =~ disabled ]]; then
systemctl enable --user --now sunshine.service
else
systemctl disable --user --now sunshine.service
fi
fi fi
# Install LACT for overclocking & undervolting AMD GPUs # Install LACT for overclocking & undervolting AMD GPUs