diff --git a/scripts/dwmblocks-fcitx5 b/scripts/dwmblocks-fcitx5 new file mode 100755 index 0000000..2f2f3e8 --- /dev/null +++ b/scripts/dwmblocks-fcitx5 @@ -0,0 +1,12 @@ +#!/usr/bin/env zsh + +local ime_sym='?' +case "$(fcitx5-remote -n)" in + 'keyboard-us') + ime_sym='E' + ;; + 'mozc') + ime_sym="和" + ;; +esac +printf '󰌌 %s' "${ime_sym}"