We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e89ac7c commit 4790e60Copy full SHA for 4790e60
system_files/deck/shared/usr/bin/bazzite-discover-overlay
@@ -2,10 +2,13 @@
2
3
source /etc/default/discover-overlay
4
5
+IMAGE_INFO="/usr/share/ublue-os/image-info.json"
6
+BASE_IMAGE_NAME=$(jq -r '."base-image-name"' < $IMAGE_INFO)
7
+
8
# Run discover-overlay if discord is installed and we aren't using Wayland.
9
if [[ ${AUTO_LAUNCH_DISCOVER_OVERLAY} == 1 ]]; then
10
if grep -q "com.discordapp.Discord\|xyz.armcord.ArmCord\|de.shorsh.discord-screenaudio\|io.github.spacingbat3.webcord" <<< $(flatpak list); then
- if [[ "$XDG_SESSION_TYPE" != "wayland" ]]; then
11
+ if [[ ${BASE_IMAGE_NAME} =~ "kinoite" || "$XDG_SESSION_TYPE" != "wayland" ]]; then
12
/usr/bin/discover-overlay
13
fi
14
0 commit comments