macdems / yet-another-spotify-tray

Tray icon for Spotify Linux client application
MIT License
22 stars 6 forks source link

Feature Request: run spotify-tray again to show the window #4

Closed A1ca7raz closed 1 year ago

A1ca7raz commented 1 year ago

I used to click the close button to hide Spotify in the tray on Windows and click Spotify pinned in my dock to show up Spotify. On Linux, when spotify tray is running, run spotify-tray will show it is already running, run spotify will show up a broken Spotify window (won't break the spotify already running). I wonder can you add a feature that when a running spotify-tray detected, try to show the window instead of starting a new Spotify.

macdems commented 1 year ago

This is very good idea. Unfortunately, I cannot implement desired behavior, when someone launches plain Spotify, however, now launching spotify-tray again shows the window.