A script to show Fcitx5 status. Fork from polybar-fcitx-scripts
on ArchLinux AUR and I can't find it now. I adapt it to fcitx5.
Copy polybar-fcitx5-script.sh
to your ~/.config/polybar
folder and add this to your config file:
[module/fcitx]
type = custom/script
exec = ~/.config/polybar/polybar-fcitx5-script.sh
tail = true
interval = 0
format-prefix = "KBD"
You can replace format-prefix
with the symbol you like.
If you want to change the up arrow that indicates uppercase into another symbol, modify CAPS_SYMBOL
in the script.