fcitx5-dbus
Introduce
This crate wrapped fcitx5 dbus interface for rust.
You could use this crate to develop somthing like plugins.
Use
- Toggle input method between
pinyin(Chinese) andus(English):
// Cargo.toml
//
// [dependencies]
// fcitx5-dbus = "1.0"
use ;
- Toggle asynchronously:
// Cargo.toml
//
// [dependencies]
// fcitx5-dbus = "1.0"
// tokio = { version = "1.42.0", features = ["full"] }
use ;
async