Improve copying of camera images
This commit is contained in:
parent
5156d7a617
commit
5e8865e779
1 changed files with 1 additions and 3 deletions
4
q-cam
4
q-cam
|
@ -24,11 +24,9 @@ elif [[ "$1" == "--preview" ]]; then
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$FILE"
|
|
||||||
|
|
||||||
elif [[ "$1" == "--run" ]]; then
|
elif [[ "$1" == "--run" ]]; then
|
||||||
shift
|
shift
|
||||||
setsid -f wl-copy < "$CAMERA_DIR/$1"
|
echo "file://$CAMERA_DIR/$1" | setsid -f wl-copy -t text/uri-list
|
||||||
else
|
else
|
||||||
echo "Unexpected arguments: $@"
|
echo "Unexpected arguments: $@"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue