niri: use wmenu, chromium script for wayland without X

This commit is contained in:
lupan committed 2026-05-19 22:04:45 +02:00
1 parent 226667afdd
commit fccbc60400
2 files changed
+7 -1

No files matched your search

+6
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 "$@"