flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
23.92k stars 1.52k forks source link

Set default viewer with distinct shortcut #3600

Open socketbox opened 1 month ago

socketbox commented 1 month ago

Feature Description

I'd like to be able to open the same image viewer to view a copied selection using a custom shortcut. Currently, Ctrl-O brings up a dialog that has the user selecting an application to view what's been copied. I'd like to skip this step. That is, I'd like to do the following:

  1. Define an application and keyboard shortcut in ~/.config/flameshot/flameshot.ini.
  2. Copy a portion of a screen with Flameshot.
  3. Press the shortcut specified in Step 1 and have the application (also specified in Step 1) open with the selection that was copied.
mmahmoudian commented 1 month ago

If you use Linux, do you mean something akin to the following?

flameshot gui --raw | imv -