bins - replace scrot with escrotum
This commit is contained in:
parent
26b3064751
commit
e8c4c3dde5
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user