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