Does fcitx5 provide the feature of calling scripts when switching input methods? #919
-
Beta Was this translation helpful? Give feedback.
Answered by
wengxt
Dec 21, 2023
Replies: 1 comment
-
You can use fcitx5-lua to monitor certain internal event https://fcitx.github.io/fcitx5-lua/modules/fcitx.html#watchEvent https://fcitx.github.io/fcitx5-lua/modules/fcitx.html#currentInputMethod |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
paradoxskin
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use fcitx5-lua to monitor certain internal event
https://fcitx.github.io/fcitx5-lua/modules/fcitx.html#watchEvent
for your use case, you can focus on FocusIn and SwitchInputMethod
https://fcitx.github.io/fcitx5-lua/modules/fcitx.html#currentInputMethod