aboutsummaryrefslogtreecommitdiff
path: root/chromium
diff options
context:
space:
mode:
Diffstat (limited to 'chromium')
-rwxr-xr-xchromium/chromium6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/chromium b/chromium/chromium
new file mode 100755
index 0000000..8498b76
--- /dev/null
+++ b/chromium/chromium
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+exec /usr/bin/chromium \
+ $([ -n "$WAYLAND_DISPLAY" ] && \
+ echo "--enable-features=UseOzonePlatform --ozone-platform=wayland") \
+ "$@"