Skip to content

Instantly share code, notes, and snippets.

@kalebpace
Created April 13, 2018 06:42

Revisions

  1. Kaleb Pace created this gist Apr 13, 2018.
    6 changes: 6 additions & 0 deletions screenshot.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    #!/bin/bash
    PIC=~/Pictures/temp.png

    sleep 0.2; scrot -s $PIC
    xclip -selection clipboard -t image/png -i < $PIC
    rm $PIC