Added link.

master
Ceryn 2014-02-14 00:29:56 +01:00
parent c50545ae0b
commit d829a6b5a5
2 changed files with 6 additions and 1 deletions

5
README
View File

@ -1,5 +1,8 @@
img : Minimalistic screenshot uploader for Linux
img is a minimalistic bash script that uploads a screen selection to imgur. On success, it copies the image link to the clipboard and sounds a bell. On failure, it writes the curl output to /tmp/, where the image is also stored. img produces no output.
img is a minimalistic bash script that uploads a screen selection to imgur.
On success, it copies the image link to the clipboard and sounds a bell.
On failure, it writes the curl output to /tmp/, where the image is also stored.
No output is produced.
img depends on scrot, curl and xclip.

2
img.sh
View File

@ -1,4 +1,6 @@
#!/bin/bash
# https://github.com/Ceryn/img
clientid='3e7a4deb7ac67da'
img=$(date '+/tmp/%N.png')