chrisknepper / android-messages-desktop

Android Messages as a Cross-platform Desktop App
MIT License
1.01k stars 116 forks source link

Add cmd+w shortcut for hiding window #227

Open KevinRamsunder opened 4 years ago

KevinRamsunder commented 4 years ago

Fixes https://github.com/chrisknepper/android-messages-desktop/issues/214 https://github.com/chrisknepper/android-messages-desktop/issues/8

app.hide() seemed like the best option here, but let me know if something else would be more ideal, I looked through here https://electronjs.org/docs/api/app a bit.

KevinRamsunder commented 4 years ago

hey @chrisknepper, any chance we could get this merged? i realize this project hasn't been updated in a while, but I wanted to check before I started using my own forked distribution.

andreyrd commented 4 years ago

Another request for this in #243 I would suggest maybe adding a second maintainer to this repository, considering how many Issues have piled up at this point? This app is super useful, and I would like to see it continue.

OrangeDrangon commented 4 years ago

That appears to already exist in a production build.

KevinRamsunder commented 4 years ago

@OrangeDrangon want to link where exactly?

andreyrd commented 4 years ago

Looks like cmd-h already works, which is nonstandard, but an okay workaround.

You can also use built in macOS Keyboard Shortcuts functionality to override it to make it cmd-w:

Screen Shot 2020-06-06 at 10 35 31 AM
OrangeDrangon commented 4 years ago

I am not positive about this version but currently on my recent fork (at least on arch linux) ctrl+w for close (quit if tray is off) is working. I am working on getting it published in all the various ways necessary to be useful.