Skip to content

Commit 4790e60

Browse files
committed
feat: Launch discover-overlay on KDE Wayland since it's supported
1 parent e89ac7c commit 4790e60

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

system_files/deck/shared/usr/bin/bazzite-discover-overlay

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,13 @@
22

33
source /etc/default/discover-overlay
44

5+
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
6+
BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
7+
58
# Run discover-overlay if discord is installed and we aren't using Wayland.
69
if [[ ${AUTO_LAUNCH_DISCOVER_OVERLAY} == 1 ]]; then
710
if grep -q "com.discordapp.Discord\|xyz.armcord.ArmCord\|de.shorsh.discord-screenaudio\|io.github.spacingbat3.webcord" <<< $(flatpak list); then
8-
if [[ "$XDG_SESSION_TYPE" != "wayland" ]]; then
11+
if [[ ${BASE_IMAGE_NAME} =~ "kinoite" || "$XDG_SESSION_TYPE" != "wayland" ]]; then
912
/usr/bin/discover-overlay
1013
fi
1114
fi

0 commit comments

Comments
 (0)