Flameshot is a program for taking screenshots. It has an interactive GUI with controls to select the desired capture region, move and resize the capture window, make edits with common drawing tools (pencil, line, rectangle, circle, blur, undo/redo), and choose the output destination (copy to clipboard, save to disk, upload to Imgur, open with another program).
Install the package, or AUR for the development version.
Sub-commands exit immediately with no output
Option 1: Use dbus-launch
For example, using xinit:
... exec dbus-launch dwm
Seefor more information.
Option 2: Run as background process
Alternatively, you can start Flameshot as a background process at any time during your X session:
$ flameshot &
No tray icon
There are probably other ways to do this. Here is just one way.
Need to download the gnome shell extensions topicons plus
$ yay -S gnome-shell-extension-topicons-plus
Then in the gnome tweaks application (may also need to download if you don't have it installed):
- Click on the Extensions tab
- Enable "Topicons plus" so it moves the legacy tray icons to the top panel