mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-25 21:41:02 +00:00
feat: Allow Discover to launch for Vesktop
This commit is contained in:
parent
9deec489a0
commit
bb7b2e514a
@ -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" <<< $(/usr/bin/flatpak list --app --columns=application); 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 [[ ${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
|
||||
|
Loading…
x
Reference in New Issue
Block a user