nicotine-plus / nicotine-plus

Graphical client for the Soulseek peer-to-peer network
https://nicotine-plus.org
GNU General Public License v3.0
1.77k stars 135 forks source link

Menu Bar Icon for running Nicotine+ in background on macOS #3168

Open lyzkov opened 2 weeks ago

lyzkov commented 2 weeks ago

Hi, I would like to have a small icon in the menu bar (system tray) with a quick menu for useful actions for running Nicotine in the background. Currently, it is only possible to keep an app on the dock, which, in my opinion, is a good place for most frequently and recently used apps.

I've noticed from screenshots on the web that on other systems, there is such a functionality. Are there any limitations from Apple preventing app control from the menu bar?

slook commented 2 weeks ago

https://developer.apple.com/documentation/appkit/nsstatusbar https://wiki.gnome.org/Projects/GTK/OSX/Integration

mathiascode commented 2 weeks ago

Do any other P2P apps use tray icons on macOS? I skipped it on macOS because nobody asked for it until now, and there didn't seem to be any obvious way to remove a background app from the dock.

lyzkov commented 2 weeks ago

Do any other P2P apps use tray icons on macOS? I skipped it on macOS because nobody asked for it until now, and there didn't seem to be any obvious way to remove a background app from the dock.

Yes. Take a look at IPFS Desktop for macOS.

Screenshot 2024-10-28 at 15 00 15

I know they took quite different approach for file sharing but a menu bar icon is very handy as the application is intended to operate mostly in the background as a system daemon.