From 5e8865e779bcf00e0a5b83ba18ffa99900432bda Mon Sep 17 00:00:00 2001 From: Konstantin Nazarov Date: Sat, 16 Nov 2024 10:54:37 +0000 Subject: [PATCH] Improve copying of camera images --- q-cam | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/q-cam b/q-cam index 1767953..6866794 100755 --- a/q-cam +++ b/q-cam @@ -24,11 +24,9 @@ elif [[ "$1" == "--preview" ]]; then echo fi - echo "$FILE" - elif [[ "$1" == "--run" ]]; then shift - setsid -f wl-copy < "$CAMERA_DIR/$1" + echo "file://$CAMERA_DIR/$1" | setsid -f wl-copy -t text/uri-list else echo "Unexpected arguments: $@" fi