flesupdate

This commit is contained in:
Felix Van der Jeugt 2016-01-11 23:06:09 +01:00
parent 556c3c15c8
commit 3e86096634

View File

@ -5,7 +5,6 @@ set -e
sshhost="Flesje" sshhost="Flesje"
fles="http://t2-wan.be" fles="http://t2-wan.be"
port="7070"
# Find ssh username # Find ssh username
user=$( user=$(
@ -22,6 +21,6 @@ escrotum $* "$file"
chmod 644 $file chmod 644 $file
scp -p $file $sshhost:~/images/ scp -p $file $sshhost:~/images/
rm "$file" rm "$file"
url="$fles:$port/~$user/$file" url="$fles/~$user/$file"
notify-send "Screenshot uploaded to $url" notify-send "Screenshot uploaded to $url"
echo "$url" | xclip echo "$url" | xclip