Skip to content

Conversation

@E1int
Copy link
Contributor

@E1int E1int commented Jul 30, 2025

No description provided.

@dweymouth
Copy link
Owner

What is the use case of this? And how should it behave if the system tray is not enabled? It seems to me that in that case it would start the app with no way to actually show the window.

@E1int
Copy link
Contributor Author

E1int commented Jul 31, 2025

My use case would be to use supersonic without its GUI. The next part would be adding other commands to the CLI (e.g. playing a playlist) to make this actually usable.

On the tray part, I'm on KDE and saw an icon on the task manager while testing this and thought it would allow to open the main window, but I was wrong. Currently, it would be more correct calling this a headless mode more than a minimized start.

@dweymouth
Copy link
Owner

I'll be happy to merge this if you can add a --show flag that sends an IPC message to the running instance to make its window visible. You can take a look at the MPRIS handler for an example of how to implement it because the MPRIS handler can respond to a "raise" request which shows the window.

Adding this, a Supersonic instance started with --start-minimized wouldn't be "stuck" being a headless instance

@E1int E1int force-pushed the start-minimized-flag branch from 9e3a219 to aa3b030 Compare August 1, 2025 19:24
@E1int E1int force-pushed the start-minimized-flag branch from f1e7032 to c832d13 Compare August 1, 2025 20:45
@E1int
Copy link
Contributor Author

E1int commented Aug 4, 2025

Should be ready to merge.

@dweymouth dweymouth merged commit dbea096 into dweymouth:main Aug 4, 2025
8 checks passed
@dweymouth
Copy link
Owner

Looks good, thanks!

@E1int E1int deleted the start-minimized-flag branch August 5, 2025 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants