-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide Dock Icon + Main Window #35
Comments
This is possible, but once implemented, both #[cfg(target_os = "macos")]
app.set_activation_policy(tauri::ActivationPolicy::Prohibited); |
I came up with a better form of interaction.
Simply put, a right-click on the system tray icon is a two-way event ( |
This is great! Some other macOS menubar apps I have that have the option to 'disable the dock icon and app switcher', seem to follow the pattern of:
|
If a system tray right-click menu is required, it would be a simple version of:
|
Thanks @lencx ! |
You can check out readme, which also adds more exciting features, but was released in a bit of a hurry and is not yet fully adapted in the system tray. |
Love the menubar dropdown, it's excellent! Can we get rid of the dock icon and main window altogether? 😄 It currently just 'hides' the main window when you click 'close'.
The text was updated successfully, but these errors were encountered: