From d04599a769cf15290323680cb2b5a0c94f9c6fb4 Mon Sep 17 00:00:00 2001 From: Dipesh Babu Date: Thu, 19 Feb 2026 23:15:38 -0500 Subject: [PATCH] fix: append hyprland chromium flag as separate line --- migrations/1760401344.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/migrations/1760401344.sh b/migrations/1760401344.sh index 5e5ca300..a826d219 100644 --- a/migrations/1760401344.sh +++ b/migrations/1760401344.sh @@ -3,13 +3,13 @@ echo "Add Chromium crash workaround flag for Hyprland to existing configs" # Add flag to chromium-flags.conf if it exists and doesn't already have it if [[ -f ~/.config/chromium-flags.conf ]]; then if ! grep -qF -- "--disable-features=WaylandWpColorManagerV1" ~/.config/chromium-flags.conf; then - sed -i '$a # Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957\n--disable-features=WaylandWpColorManagerV1' ~/.config/chromium-flags.conf + sed -i -e '$a # Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957' -e '$a --disable-features=WaylandWpColorManagerV1' ~/.config/chromium-flags.conf fi fi # Add flag to brave-flags.conf if it exists and doesn't already have it if [[ -f ~/.config/brave-flags.conf ]]; then if ! grep -qF -- "--disable-features=WaylandWpColorManagerV1" ~/.config/brave-flags.conf; then - sed -i '$a # Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957\n--disable-features=WaylandWpColorManagerV1' ~/.config/brave-flags.conf + sed -i -e '$a # Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957' -e '$a --disable-features=WaylandWpColorManagerV1' ~/.config/brave-flags.conf fi fi