diff --git a/default/bash/functions b/default/bash/functions index 702dabe..926742f 100644 --- a/default/bash/functions +++ b/default/bash/functions @@ -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'