Created
September 24, 2018 07:03
-
-
Save ajboni/9952c0bbeac865a165aeb74727561baa to your computer and use it in GitHub Desktop.
# Get a screenshot area, save it to clipboard AND Save it to file
This file contains hidden or 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
| maim -s | xclip -selection clipboard -t image/png && xclip -selection clipboard -o > ~/screenshots/$(date +%s).png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment