[module/fcitx5]
type = custom/script
format-prefix = " "
exec = [[ $(fcitx5-remote) -eq 2 ]] &&echo "zh" || echo "en"
interval = 1
format-prefix-foreground = ${colors.primary}
include-file = PATH/fcitx5.ini
Display the input status of fcitx5
[module/fcitx5]
type = custom/script
format-prefix = " "
exec = [[ $(fcitx5-remote) -eq 2 ]] &&echo "zh" || echo "en"
interval = 1
format-prefix-foreground = ${colors.primary}
include-file = PATH/fcitx5.ini
Display the input status of fcitx5