Remove Wayland color manager disabling flag from Chromium configs (#4610) (#4615)

Signed-off-by: Shreyansh Malviya <shreyanshmalviya0012@gmail.com>
This commit is contained in:
Shreyansh Malviya
2026-02-17 15:21:24 +05:30
committed by GitHub
parent 6ff13fc071
commit 40bff09c84
3 changed files with 14 additions and 4 deletions

View File

@@ -2,5 +2,3 @@
--ozone-platform-hint=wayland
--enable-features=TouchpadOverscrollHistoryNavigation
--load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url
# Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957
--disable-features=WaylandWpColorManagerV1

View File

@@ -2,5 +2,3 @@
--ozone-platform-hint=wayland
--enable-features=TouchpadOverscrollHistoryNavigation
--load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url
# Chromium crash workaround for Wayland color management on Hyprland - see https://github.com/hyprwm/Hyprland/issues/11957
--disable-features=WaylandWpColorManagerV1

14
migrations/1771188969.sh Normal file
View File

@@ -0,0 +1,14 @@
echo "Remove temporary Wayland color manager disabling flag from existing Chromium configs"
# This reverts the workaround originally added by migration 1760401344.sh
# Remove flag and comment from chromium-flags.conf only if found
if [[ -f ~/.config/chromium-flags.conf ]]; then
sed -i '/--disable-features=WaylandWpColorManagerV1/d' ~/.config/chromium-flags.conf
sed -i '/# Chromium crash workaround for Wayland color management on Hyprland/d' ~/.config/chromium-flags.conf
fi
# Remove flag and comment from brave-flags.conf only if found
if [[ -f ~/.config/brave-flags.conf ]]; then
sed -i '/--disable-features=WaylandWpColorManagerV1/d' ~/.config/brave-flags.conf
sed -i '/# Chromium crash workaround for Wayland color management on Hyprland/d' ~/.config/brave-flags.conf
fi