Created
June 8, 2016 11:39
-
-
Save akrabat/e30e8a2682e7e4f8600faa48e564c707 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
# Capture currently focussed window using https://github.com/vorgos/QuickGrab | |
# | |
# Run screenshot.sh, then cmd+tab to window you want to capture within 2 seconds. | |
# Screenshot file is then stored on your desktop | |
sleep 2; quickgrab -file ~/Desktop/screenshot-`date '+%Y%m%d-%H%M%S'`.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment