Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Ceryn/img
Minimalistic screenshot uploader for Linux
https://github.com/Ceryn/img
Last synced: 3 days ago
JSON representation
Minimalistic screenshot uploader for Linux
- Host: GitHub
- URL: https://github.com/Ceryn/img
- Owner: Ceryn
- Created: 2014-02-13T23:18:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-23T21:49:04.000Z (about 10 years ago)
- Last Synced: 2024-08-02T05:13:15.320Z (3 months ago)
- Language: Shell
- Size: 179 KB
- Stars: 61
- Watchers: 5
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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.
No output is produced.img depends on scrot, curl and xclip.
You can use the following command to check dependencies:
for p in scrot curl xclip; do test $(command -v $p) && echo "Ok $p" || echo "No $p"; doneRecommended usage: Bind a key (such as PrtSc) to execute the script easily.
Note: If you are using dwm, you will need to use the following patch for
screen selections: http://dwm.suckless.org/patches/keypressrelease.