flesupdate
This commit is contained in:
parent
556c3c15c8
commit
3e86096634
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user