13 lines
202 B
Plaintext
13 lines
202 B
Plaintext
|
#!/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}"
|