dwmblocks/scripts/dwmblocks-fcitx5

13 lines
202 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env zsh
local ime_sym=''
case "$(fcitx5-remote -n)" in
'keyboard-us')
ime_sym=''
;;
'mozc')
ime_sym="和"
;;
esac
printf '󰌌 %s' "${ime_sym}"