aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rwxr-xr-xfiles/imv1
-rwxr-xr-xfiles/imv-folder3
-rw-r--r--files/imv-folder.desktop14
3 files changed, 17 insertions, 1 deletions
diff --git a/files/imv b/files/imv
index 90a0706..adff923 100755
--- a/files/imv
+++ b/files/imv
@@ -1,5 +1,4 @@
#!/bin/sh
-
if [ -n "${WAYLAND_DISPLAY}" ]; then
exec imv-wayland "$@"
else
diff --git a/files/imv-folder b/files/imv-folder
new file mode 100755
index 0000000..c08f339
--- /dev/null
+++ b/files/imv-folder
@@ -0,0 +1,3 @@
+#!/bin/sh
+image="$1"
+exec imv "$(dirname "$image")" -n "$image"
diff --git a/files/imv-folder.desktop b/files/imv-folder.desktop
new file mode 100644
index 0000000..4bec770
--- /dev/null
+++ b/files/imv-folder.desktop
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Name=imv-folder
+Name[en_US]=imv
+GenericName=Image viewer
+GenericName[en_US]=Image viewer
+Comment=Fast freeimage-based Image Viewer | Open all images on a folder
+Exec=imv-folder %f
+NoDisplay=true
+Terminal=false
+Type=Application
+Categories=Graphics;2DGraphics;Viewer;
+MimeType=image/bmp;image/gif;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-bmp;image/x-pcx;image/x-png;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-tga;image/x-xbitmap;
+Icon=multimedia-photo-viewer
+Keywords=photo;picture;