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 EdwardsandDavid Heinemeier Hansson authored and GitHub committed 2025-08-22 17:54:29 +02:00
1 parent cab64fa9de
commit b3d24a1b13
2 files changed
+10

No files matched your search

+1
View File
@@ -0,0 +1 @@
Allow Overriding System XKB Settings=False
+9
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