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
Add Keyboard Shortcuts #23
Comments
One of the most important things on my todo list here and my top personal annoyance when recording :) I hope to have time to get this done soon. |
This allows e.g. to bind peek to global keyboard shortcuts for the desktop environment, see #23
I have somewhat a solution for this. The current git master provides command line parameters to toggle the recording. So if Peek is already running you can run:
to start recording in the running instance. Likewise you can stop with The idea is that you can bind those commands to a global kyboard shortcut inside your desktop environment, e.g. in Gnome you can configure shortcuts in the preferences. The problem with adding shortcuts directly to Peek is, that normal application shortcuts won't help, since you normally don't have Peek focused when recording. So you need global shortcuts. Global shortcuts however require integration in each desktop environment. Or you use X directly, but with things like Wayland and Mir knocking on the door this is not a very future proof implementation. So either way, this is quite some work to support it everywhere, so I am not sure I will do that. At least not soon. |
Started work on that. Keyboard shortcut is already working in latest master, it just needs a UI to configure it and maybe it needs to be disabled on Wayland because it should not work there anyway. What do you think is a suitable default shortcut? For now it is |
|
FYI, Gnome's screencast feature (https://help.gnome.org/users/gnome-help/stable/screen-shot-record.html.en) uses |
Yo shoutouts to @phw . I just mapped |
This project is great! Keep up the good work.
Please add a keyboard shortcut for Peek, so that all of my GIFs don't end with my cursor moving to the top middle of the window I'm recording.
The text was updated successfully, but these errors were encountered: