Skip to content

Commit cfa63fd

Browse files
committed
Add function to refresh xcompose after changes
1 parent da31736 commit cfa63fd

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎default/bash/functions‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,11 @@ web2app-remove() {
6666
rm "$ICON_PATH"
6767
}
6868

69+
# Ensure changes to ~/.XCompose are immediately available
70+
refresh-xcompose() {
71+
pkill fcitx5
72+
setsid fcitx5 &>/dev/null &
73+
}
74+
6975
# Ensure that external keyboards that use an fn key has the F keys as the default
7076
alias fix_fkeys='echo 2 | sudo tee /sys/module/hid_apple/parameters/fnmode'

0 commit comments

Comments
 (0)