scripts/printscreen

7 lines
182 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# -s: Interactively select a window or rectangle with the mouse.
# -e: Directly open the screenshot with Gimp then delete it
scrot -s -m -e 'gimp $f ; mv $f /tmp/'