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

9 lines
247 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
# Run discover-overlay if discord is installed and we aren't using Wayland.
if grep -q "com.discordapp.Discord" <<< $(flatpak list); then
if [[ "$XDG_SESSION_TYPE" != "wayland" ]]; then
/usr/bin/discover-overlay
fi
fi