From 22c0ec2944e43eade384cd08b5fdc6aaca430e3f Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 1 Jul 2024 15:44:03 -0700 Subject: [PATCH] chore: Only support official Discord with discover-overlay --- system_files/desktop/shared/usr/bin/bazzite-discover-overlay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/bin/bazzite-discover-overlay b/system_files/desktop/shared/usr/bin/bazzite-discover-overlay index d2d7c43f..d724778b 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-discover-overlay +++ b/system_files/desktop/shared/usr/bin/bazzite-discover-overlay @@ -7,7 +7,7 @@ BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO) # Run discover-overlay if discord is installed and we aren't using Wayland. if [[ ${AUTO_LAUNCH_DISCOVER_OVERLAY} == 1 ]]; then - if grep -q "com.discordapp.Discord\|xyz.armcord.ArmCord\|de.shorsh.discord-screenaudio\|io.github.spacingbat3.webcord\|dev.vencord.Vesktop" <<< $(/usr/bin/flatpak list --app --columns=application); then + if grep -q "com.discordapp.Discord" <<< $(/usr/bin/flatpak list --app --columns=application); then if [[ ${BASE_IMAGE_NAME} =~ "kinoite" || "$XDG_SESSION_TYPE" != "wayland" ]]; then /usr/bin/discover-overlay "$@" elif [[ ${BASE_IMAGE_NAME} =~ "silverblue" && "$XDG_SESSION_TYPE" == "wayland" && "${LAUNCH_DISCOVER_ON_GNOME_WAYLAND}" == 1 ]]; then