mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Signed-off-by: Shreyansh Malviya <shreyanshmalviya0012@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6ff13fc071
commit
40bff09c84
@@ -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
|
||||
|
||||
14
migrations/1771188969.sh
Normal file
14
migrations/1771188969.sh
Normal 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
|
||||
Reference in New Issue
Block a user