diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-25 12:12:32 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-25 12:12:32 +0100 |
commit | 403ab7c9007c3a5ff376f2a5d8963c5db58813fb (patch) | |
tree | 66d8bfa862cb6ab9c59e1bd056f02d4b3de3a824 /media-sound/spotify/files | |
parent | 821eeed50e2a80c0959b8199e364e838d285206c (diff) |
gentoo auto-resync : 25:04:2023 - 12:12:32
Diffstat (limited to 'media-sound/spotify/files')
-rw-r--r-- | media-sound/spotify/files/spotify-wrapper | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media-sound/spotify/files/spotify-wrapper b/media-sound/spotify/files/spotify-wrapper index fd6c4f314f9f..862fa4c680d6 100644 --- a/media-sound/spotify/files/spotify-wrapper +++ b/media-sound/spotify/files/spotify-wrapper @@ -5,7 +5,7 @@ export LD_LIBRARY_PATH="/usr/$LIBDIR/apulse" if command -v spotify-dbus.py > /dev/null; then echo "Launching spotify with Gnome systray integration." spotify-dbus.py "$@" -elif command -v spotify-tray > /dev/null; then +elif [ -e "$SPOTIFY_HOME/spotify-tray" ] > /dev/null; then echo "Launching spotify with generic systray integration." minimized= for arg; do @@ -14,7 +14,7 @@ elif command -v spotify-tray > /dev/null; then break fi done - spotify-tray \ + GDK_BACKEND="x11" "$SPOTIFY_HOME/spotify-tray" \ --client-path="$SPOTIFY_HOME/spotify" --toggle $minimized -- "$@" else if pgrep -f "Spotify/[0-9].[0-9].[0-9]" > /dev/null; then |