diff --git a/lfrc b/lfrc index 9d03cab..ee2a3d5 100644 --- a/lfrc +++ b/lfrc @@ -115,21 +115,3 @@ cmd thumbs ${{ feh -t -y128 -E128 & fi }} - -# TODO test this -cmd paste &{{ - load=$(lf -remote 'load') - mode=$(echo "$load" | sed -n '1p') - list=$(echo "$load" | sed '1d') - if [ $mode = 'copy' ]; then - rsync -av --ignore-existing --progress $list . \ - | stdbuf -i0 -o0 -e0 tr '\r' '\n' \ - | while read line; do - lf -remote "send $id echo $line" - done - elif [ $mode = 'move' ]; then - mv -n $list . - fi - lf -remote 'send load' - lf -remote 'send clear' -}}