RRRRRm / polybar-fcitx5-script

A script to show Fcitx5 status in polybar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polybar-fcitx5-script.sh

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.

Setup

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.

About

A script to show Fcitx5 status in polybar.


Languages

Language:Shell 100.0%