Restart fcitx5 before Rime Ice setup so it loads the new Rime addon

This commit is contained in:
ZacharyZhang-NY committed 2026-10-06 01:56:46 -04:00
1 parent dae9edef4c
commit 6fe83bfa47
2 files changed
+5 -3

No files matched your search

+2
View File
@@ -35,6 +35,8 @@ if [[ $1 == "china" ]]; then
omarchy-update-pacman -Syu --noconfirm
sudo env OMARCHY_REGION=china OMARCHY_PATH="$OMARCHY_PATH" bash -e "$OMARCHY_PATH/install/config/region.sh"
if [[ ! -f $HOME/.local/share/fcitx5/rime/rime_ice.schema.yaml ]]; then
# A running fcitx5 only sees the new Rime addon after a restart.
systemctl --user try-restart omarchy-fcitx5.service
rime-ice-installer --yes
fi
else