mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Signed-off-by: Shreyansh Malviya <shreyanshmalviya0012@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user