niri: chromium script on wayland without X

This commit is contained in:
2026-05-19 21:39:18 +02:00
parent 226667afdd
commit cd8a6208d5
2 changed files with 7 additions and 1 deletions

6
niri/bin/chromium Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/sh
if [ -n "$WAYLAND_DISPLAY" ]; then
exec /usr/bin/chromium --enable-features=UseOzonePlatform --ozone-platform=wayland "$@"
fi
exec /usr/bin/chromium "$@"