Add function to refresh xcompose after changes

This commit is contained in:
David Heinemeier Hansson
2025-06-29 21:11:49 -07:00
parent da31736b9a
commit cfa63fdc67

View File

@ -66,5 +66,11 @@ web2app-remove() {
rm "$ICON_PATH"
}
# Ensure changes to ~/.XCompose are immediately available
refresh-xcompose() {
pkill fcitx5
setsid fcitx5 &>/dev/null &
}
# Ensure that external keyboards that use an fn key has the F keys as the default
alias fix_fkeys='echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode'