-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Applications quick peek and hide if active #547
Comments
Oh, those are both interesting ideas. |
Just thought of something that I've used in the past.
The global would for example hold a shortcut to show an application: And when You won't get the quick peek, you you'll be able to toggle ("peek") by pushing it once to show and twice to hide. Hope that helps. |
Could you share some more insight to |
I mean frontmost application, like |
So you want to be able to hide the current application? Or am I missing something? |
Yes, thanks! Hiding is not an issue at all, I simply meaning it will be easy to use the same shortcut for hide specific app. |
@zenangst Did you mean Terminal (instead of Xcode) here, since the example is around Terminal? If so, I can’t make your suggestion work.
The first shortcut works, the second one doesn’t. |
@theprivacydesigner Fantastic! I'm still gonna check if there is a bug in the hide application command, so thanks for bringing it to my attention. |
@zenangst just a guess but... in the first setup I tried (the one that didn’t work) I turned on notifications for each command... it looked like both show and hide were triggered when the application was in focus. Which probably is why the app wasn’t hiding. |
Hide can be implemented regardless to which windows in focus, but via "Active" status. |
Hey @ww7, Here is some good news for you... I went ahead and implemented application peeking functionality that will be available in the upcoming version. |
Great, thanks! Peek will switch to app if hold less than 100-400ms? |
@ww7 Not currently, the implementation that I made is based on I'm gonna take a stab at it because I can see the potential in it not disappearing if I hold the key down for a longer period of time. |
I think I managed to figure it out now. |
Initial suggestion is wrongly described by me. Peek implementation can be in same time as application activation, hiding and peek.
|
Current default app activation may have "hide if active" flag, this allows to have less shortcuts. |
@ww7 3.25.0 now support peeking (sounded way better in my head 🤣). https://github.com/zenangst/KeyboardCowboy/releases/tag/3.25.0 |
@zenangst peeking works nice! |
@ww7 I managed to achieve that behavior by just having a keyboard shortcut scoped to that app. I guess that option would save you creating a group and having multiple shortcuts. |
I have all my apps with shortcuts (~30), it hard to manage Hide for all of them, my previous workflow was:
As I have two languages (non-latin), all shortcuts doubled... Manage Hide to all of them blowing mind (offtopic about interface: "Check for updates" window have funny |
Initially I thought |
Hey @ww7, I had a thought. Instead of making 'Peek' a modifier, let's make it an action. That way, users won't accidentally mix it with 'hide' or 'unhide,' which wouldn't make much sense. Oh, and 'Peek' also has some special behavior when it comes to 'keyUp' based on a time interval. I didn't want that to be part of the regular path if the user just wants to open an application. I know this got a bit technical, but I hope you get the idea. By the way, I think we could still add 'Hide when active/frontmost' as a modifier. I'll check if we can't get that into the next version. |
I'm fan of Apptivate keyboard shortcuts manager, it abandoned since 2021 but still works.
Two nice features from Apptivate is missing at KeyboardCowboy:
The text was updated successfully, but these errors were encountered: