sindresorhus/caprine

Show/hide window with system-wide hotkey (globalShortcut)

Open

#827 opened on Mar 22, 2019

View on GitHub
 (6 comments) (3 reactions) (0 assignees)TypeScript (7,365 stars) (601 forks)user submission
enhancementhelp wanted

Description

Would it be possible to add a global shortcut to show/hide the application window (i.e. interact with application when not in focus)?

The use would be similar to iTerm2's Alt+Space hotkey.

The justification is for an increase in productivity when working on something:

  1. Receive chat notification
  2. Display the Caprine application via hotkey
  3. Scroll through the chats (via hotkeys) to respond
  4. Hide the window and continue working where you previously left off

All without touching the mouse.

Note that this is different to minimizing the window as it gives you the ability to access the application when not in focus as well.

Would love to submit a pull request myself, just wondering if the interest is there.

Contributor guide