fix(just): Don't install supergfxctl-gex extension

We already include it
This commit is contained in:
RJ Trujillo 2023-08-02 19:31:11 -06:00
parent ecf2aea7c9
commit 7fe29a6ed4

View File

@ -63,14 +63,11 @@ enable-system76-scheduler:
echo "This is only needed under KDE."
fi
enable-supergfxctl:
enable-supergfxctl:
#!/usr/bin/env bash
status=$(rpm-ostree status)
if grep "nvidia" <<< ${status}; then
systemctl enable --now supergfxd.service
if grep "gnome" <<< ${status}; then
gext install supergfxctl-gex@asus-linux.org
fi
status=$(rpm-ostree status)
if grep "nvidia" <<< ${status}; then
systemctl enable --now supergfxd.service
else
echo "This requires an Nvidia image."
fi