bins - replace scrot with escrotum

This commit is contained in:
Felix Van der Jeugt 2015-04-14 17:11:28 +02:00
parent 26b3064751
commit e8c4c3dde5

View File

@ -17,7 +17,7 @@ user=$(
(grep "^$sshhost" || echo $USER) | cut -d ' ' -f 2 ) (grep "^$sshhost" || echo $USER) | cut -d ' ' -f 2 )
file="$(mktemp XXXXXX.png)" file="$(mktemp XXXXXX.png)"
scrot $* "$file" escrotum $* "$file"
chmod 755 $file chmod 755 $file
scp -p $file $sshhost:~/images/ scp -p $file $sshhost:~/images/
rm "$file" rm "$file"