Created
April 29, 2014 13:48
-
-
Save tatic0/11400940 to your computer and use it in GitHub Desktop.
screenshot using imagemagik (useful with minimalist desktops like i3)
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 | |
# you can copy this to /usr/local/bin | |
# and then chmod 775 it | |
now=`date +%Y-%m-%d:%H:%M%s` | |
echo "saving: ~/Pictures/screenshot-$now.jpg" | |
import ~/Pictures/screenshot-"$now".jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment