From e63e2c6e89a988d950cb2d98c759fcec32bfb4d6 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Wed, 11 Jun 2025 10:21:58 +0200 Subject: [PATCH] Move Chromium flags to ENV so they'll be picked up by .desktop --- config/chromium-flags.conf | 4 ---- default/hypr/envs.conf | 3 +++ 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 config/chromium-flags.conf diff --git a/config/chromium-flags.conf b/config/chromium-flags.conf deleted file mode 100644 index b6ffbaa..0000000 --- a/config/chromium-flags.conf +++ /dev/null @@ -1,4 +0,0 @@ ---enable-features=UseOzonePlatform ---ozone-platform=wayland ---enable-wayland-ime ---wayland-text-input-version=3 diff --git a/default/hypr/envs.conf b/default/hypr/envs.conf index cade76a..f7a30f9 100644 --- a/default/hypr/envs.conf +++ b/default/hypr/envs.conf @@ -17,6 +17,9 @@ xwayland { force_zero_scaling = true } +# Make Chromium use XCompose and all Wayland +env = CHROMIUM_FLAGS,"--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-version=3" + # Make .desktop files available for wofi env = XDG_DATA_DIRS,/usr/share:/usr/local/share:~/.local/share