summarylogtreecommitdiffstats
path: root/outline-wayland-launcher.sh
diff options
context:
space:
mode:
authorh0x322022-07-20 01:41:42 +0200
committerh0x322022-07-20 01:41:42 +0200
commitf586ff87b7d39346bd0468453123c7480fe1e2f6 (patch)
tree6d97047ac216a5f40d4de34d1e35e442c361dc4b /outline-wayland-launcher.sh
downloadaur-f586ff87b7d39346bd0468453123c7480fe1e2f6.tar.gz
wayland compatible outline client
Diffstat (limited to 'outline-wayland-launcher.sh')
-rw-r--r--outline-wayland-launcher.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/outline-wayland-launcher.sh b/outline-wayland-launcher.sh
new file mode 100644
index 000000000000..0b89995112ed
--- /dev/null
+++ b/outline-wayland-launcher.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+OUTLINE="/opt/outline-client/Outline-Client.AppImage"
+
+if [ "$XDG_SESSION_TYPE" = wayland ]; then
+ exec $OUTLINE "--disable-gpu" \$@
+else
+ # Using x11
+ exec $OUTLINE \$@
+fi