joelekstrom / fastmate

A native Fastmail-wrapper for Mac.
MIT License
193 stars 12 forks source link

Hide dock icon #96

Open tborychowski opened 1 year ago

tborychowski commented 1 year ago

Hi,

Thanks for makind this app. It looks and works great. Is there any chance to add an option to hide the dock icon (and have it only available in menubar with a global shortcut)?

To date I was using FMail, but they moved to FMail2, which does not have this option :-( So I'm looking for alternatives.

joelekstrom commented 1 year ago

Hi! While certainly possible I have no (current) plans to add this functionality (but I’d appreciate any PR’s!)

But I think you could make this work without the app itself supporting by writing a plist key for the app, and then setting up a global shortcut that opens it.

How to hide a dock icon: https://apple.stackexchange.com/a/207944

And example of how to set up a shortcut to open any app: https://superuser.com/a/1553303

tborychowski commented 1 year ago

Thanks for the answer. I'd love to contribute a PR, but this is completely out of my area of expertise :-)

As for the workarounds - down in the first link you'll see this: https://apple.stackexchange.com/a/440941 (TL;DR: not possible anymore) In which case, I'll just continue to use FMail (v1), which does that.

Thanks!

joelekstrom commented 1 year ago

Ah yes sorry about that, missed it. I assume you had already tried it!

But feel free to keep this issue open as a feature request and I might get inspired to add it some day

tborychowski commented 1 year ago

That's great, thanks 🙂