fix: Avoid fcitx5 override of xcb keyboard layout (#760)

* fix: Avoid fcitx5 override of xcb keyboard layout

* Clean up migration

* Comment says what the command says

---------

Co-authored-by: David Heinemeier Hansson <david@hey.com>
This commit is contained in:
Domingo Edwards 2025-08-22 11:54:29 -04:00 committed by GitHub
parent cab64fa9de
commit b3d24a1b13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1 @@
Allow Overriding System XKB Settings=False

9
migrations/1755139080.sh Normal file
View File

@ -0,0 +1,9 @@
echo "Ensure fcitx5 does not overwrite xkb layout"
FCITX5_CONF_DIR="$HOME/.config/fcitx5/conf"
FCITX5_XCB_CONF="$FCITX5_CONF_DIR/xcb.conf"
if [[ ! -f $FCITX5_XCB_CONF ]]; then
mkdir -p "$FCITX5_CONF_DIR"
cp "$OMARCHY_PATH/config/fcitx5/conf/xcb.conf" "$FCITX5_XCB_CONF"
fi