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:
parent
cab64fa9de
commit
b3d24a1b13
1
config/fcitx5/conf/xcb.conf
Normal file
1
config/fcitx5/conf/xcb.conf
Normal file
@ -0,0 +1 @@
|
||||
Allow Overriding System XKB Settings=False
|
9
migrations/1755139080.sh
Normal file
9
migrations/1755139080.sh
Normal 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
|
Loading…
x
Reference in New Issue
Block a user