Yazi : Add image_edit.

This commit is contained in:
Dmitry Voronin 2024-07-01 14:49:38 +03:00
parent 5af57de559
commit 20f96d6320
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -62,6 +62,11 @@
orphan = true; orphan = true;
run = openWith "loupe"; run = openWith "loupe";
}]; }];
image_edit = [{
desc = "Image Edit";
orphan = true;
run = openWith "gimp";
}];
archive = [{ archive = [{
desc = "Archive"; desc = "Archive";
block = true; block = true;
@ -84,7 +89,7 @@
(mkRule "application/zip" [ "archive" ]) (mkRule "application/zip" [ "archive" ])
(mkRule "application/pdf" [ "pdf" ]) (mkRule "application/pdf" [ "pdf" ])
(mkRule "audio/*" [ "audio" ]) (mkRule "audio/*" [ "audio" ])
(mkRule "image/*" [ "image" ]) (mkRule "image/*" [ "image" "image_edit" ])
(mkRule "video/*" [ "video" ]) (mkRule "video/*" [ "video" ])
(mkRule "text/html" [ "browser" ]) (mkRule "text/html" [ "browser" ])
(mkRule "application/vnd.openxmlformats-officedocument.*" [ "document" ]) (mkRule "application/vnd.openxmlformats-officedocument.*" [ "document" ])