Skip to content

Instantly share code, notes, and snippets.

@tatic0
Created April 29, 2014 13:48
Show Gist options
  • Save tatic0/11400940 to your computer and use it in GitHub Desktop.
Save tatic0/11400940 to your computer and use it in GitHub Desktop.
screenshot using imagemagik (useful with minimalist desktops like i3)
#!/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