changed names
This commit is contained in:
parent
db2b871465
commit
c96bf615b5
4 changed files with 0 additions and 0 deletions
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
filename=$1
|
||||
if [ -z $1 ]; then filename="latest"; fi
|
||||
|
||||
screencapture -i "/tmp/latest-screenshot.png"
|
||||
|
||||
if [ -r /tmp/latest-screenshot.png ]
|
||||
then
|
||||
scp /tmp/latest-screenshot.png me@example.com:~/htdocs/s/$filename.png
|
||||
rm /tmp/latest-screenshot.png
|
||||
echo "http://example.com/s/$filename.png" | pbcopy
|
||||
growl -nosticky "Screenshot ready"
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue