aboutsummaryrefslogtreecommitdiff
path: root/files/imv
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2019-08-18 14:20:28 +0100
committerHarry Jeffery <harry@exec64.co.uk>2019-08-18 14:20:28 +0100
commitaa40dba4c4caa79f402e9cf5907f59e0d4d830e1 (patch)
tree1b3fc01f4608711620734844d919aa51e6215aec /files/imv
parenteaa2a69bd44179b024051f3d1a09143e17ad5df8 (diff)
downloadimv-aa40dba4c4caa79f402e9cf5907f59e0d4d830e1.tar.gz
Move src/imv.sh to files/imv
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