mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 19:10:33 +00:00
chore: Remove supergfxctl command from desktop just file
This commit is contained in:
parent
0c844673c8
commit
595e92e65b
@ -123,17 +123,6 @@ get-wootility:
|
||||
chmod +x $HOME/Desktop/wootility.AppImage
|
||||
fi
|
||||
|
||||
# Enable Supergfxctl, a Nvidia GPU switcher for hybrid laptops
|
||||
enable-supergfxctl:
|
||||
#!/usr/bin/bash
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||
IMAGE_FLAVOR=$(jq -r '."image-flavor"' < $IMAGE_INFO)
|
||||
if [[ "$IMAGE_FLAVOR" =~ "nvidia" ]]; then
|
||||
systemctl enable --now supergfxd.service
|
||||
else
|
||||
echo "This requires an Nvidia image."
|
||||
fi
|
||||
|
||||
# Patch a bug in some 32-bit Source 1.x titles that causes them to crash at startup
|
||||
patch-source1-tcmalloc:
|
||||
#!/usr/bin/bash
|
||||
|
Loading…
Reference in New Issue
Block a user