Home

Awesome

This module is used to display the status of fcitx5 input method (zh or en)

preview

preview

and

preview

Usage

Copy to the configuration file config. ini, and call

[module/fcitx5]
type = custom/script
format-prefix = " "
exec = [[ $(fcitx5-remote) -eq 2 ]] &&echo "zh" || echo "en"
interval = 1
format-prefix-foreground = ${colors.primary}

master file import ..., and call

include-file = PATH/fcitx5.ini