aboutsummaryrefslogtreecommitdiff
path: root/files/imv
diff options
context:
space:
mode:
Diffstat (limited to 'files/imv')
-rwxr-xr-xfiles/imv7
1 files changed, 7 insertions, 0 deletions
diff --git a/files/imv b/files/imv
new file mode 100755
index 0000000..c275633
--- /dev/null
+++ b/files/imv
@@ -0,0 +1,7 @@
+#!/usr/bin/sh
+
+if [ -n "${WAYLAND_DISPLAY}" ]; then
+ exec imv-wl "$@"
+else
+ exec imv-x11 "$@"
+fi