Fix and clean up shipped config files
This commit is contained in:
1 parent
010ab5fd4c
commit
2c506f99dd
16 files changed
+24
-29
No files matched your search
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
# blob:summary=Annotate an image in Satty and save it in place
|
||||
# blob:group=capture
|
||||
# blob:args=<image-path>
|
||||
|
||||
image_path="${1:-}"
|
||||
|
||||
if [[ -z $image_path || ! -r $image_path ]]; then
|
||||
echo "Usage: blob-capture-edit <image-path>" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
exec satty --filename "$image_path" --output-filename "$image_path"
|
||||
@@ -16,7 +16,7 @@ fi
|
||||
|
||||
pkill slurp && exit 0
|
||||
|
||||
SCREENSHOT_EDITOR="${BLOB_SCREENSHOT_EDITOR:-tensaku-edit}"
|
||||
SCREENSHOT_EDITOR="${BLOB_SCREENSHOT_EDITOR:-blob-capture-edit}"
|
||||
|
||||
# Parse --editor flag from any position
|
||||
ARGS=()
|
||||
|
||||
@@ -30,7 +30,7 @@ open_image() {
|
||||
local path="$1"
|
||||
|
||||
[[ -r $path ]] || exit 1
|
||||
exec tensaku-edit "$path"
|
||||
exec blob-capture-edit "$path"
|
||||
}
|
||||
|
||||
open_text() {
|
||||
|
||||
Reference in new issue
Block a user