-
Notifications
You must be signed in to change notification settings - Fork 112
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
Global shortcut to bring up npPY. #164
Comments
Hi there @yuuki0xff |
Hacked my way around it. Posting here maybe someone will find it useful. This works on linux, and assumes you have the wmctrl and pgrep package installed. I tested arch linux with gnome. create a bash script:
Then assign shortcut to this script. When NVPY is not running, it will launch it. If it is running, it will unminimize/bring the window to foreground :) edit: there's a small bug, if there are more windows with nvpy in the window title (e.g. browser with this git repo open in an active tab), the script will not know which window to unminimize. In my case, it unminimizes the browser. |
I use
Direct support would be nice but here's another work-around for Windows in the meantime. |
I would like to request the addition of the possibility to bring up nvpy from taskbar or tray(or background in general) to front.
Example use case: You're working in some application, let's say browser. You want to take a note of something you've seen or something you found. Assuming the application is already running (e.g. autostarts with system), I would press a key combination to bring up nvpy e.g. Alt+R, then Ctrl+N to start new note, then Ctrl+V to paste url or type something, then press escape to exit the note, and escape again to minimise nvPY.
I tried to find some easy solution, but as I am no coder, it wasn't easy enough. Maybe you'd find this useful: http://web.archive.org/web/20081123040533/http://www.cixar.com/~segphault/blog/2007/1/10 and https://github.com/kupferlauncher/keybinder/tree/keybinder-3.0
The text was updated successfully, but these errors were encountered: