-
-
Save rjswenson/64691dcc4100f28b9470096f292deb64 to your computer and use it in GitHub Desktop.
Linux/Debian Clone of Mac OSX 'Capture Screen Region' feature (map to similar Cmd+Ctrl+Shift+4)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Clone of Capture Screen Region on Mac OSX (map to similar Cmd-Ctrl-Shift-4) | |
# *** Requirements *** | |
# shutter - `apt-get install shutter` | |
# copyq - download from https://github.com/hluk/CopyQ/releases | |
shutter --select --no_session --exit_after_capture --output=/tmp/screenshot-surrent.png | |
copyq write image/png - < /tmp/screenshot-surrent.png && copyq select 0 | |
rm /tmp/screenshot-surrent.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment