diff options
author | h0x32 | 2022-07-20 01:41:42 +0200 |
---|---|---|
committer | h0x32 | 2022-07-20 01:41:42 +0200 |
commit | f586ff87b7d39346bd0468453123c7480fe1e2f6 (patch) | |
tree | 6d97047ac216a5f40d4de34d1e35e442c361dc4b /outline-wayland-launcher.sh | |
download | aur-f586ff87b7d39346bd0468453123c7480fe1e2f6.tar.gz |
wayland compatible outline client
Diffstat (limited to 'outline-wayland-launcher.sh')
-rw-r--r-- | outline-wayland-launcher.sh | 10 |
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 |