Skip to content

Does fcitx5 provide the feature of calling scripts when switching input methods? #919

Closed Answered by wengxt
paradoxskin asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by paradoxskin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #918 on December 21, 2023 01:03.