commit 2e15df0935eba58cffdc353a4f5efb02b9ef596d
parent 1d8baaedc005d275cf2513ad6225d2a24b188835
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Tue, 12 May 2020 11:49:39 +0200
Open svg in inkscape
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.local/bin/plumb b/.local/bin/plumb
@@ -122,6 +122,8 @@ handle_target() {
elif [ -e "$t" ]; then
mime_type="$(file -ib "$t")"
case "$mime_type" in
+ image/svg*)
+ detach inkscape "$t";;
image/*)
detach sxiv "$t";;
video/*|audio/*|application/ogg)