Added dwmblocks-fcitx5
This commit is contained in:
parent
6165643fb3
commit
a28859d1f2
12
scripts/dwmblocks-fcitx5
Executable file
12
scripts/dwmblocks-fcitx5
Executable file
@ -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}"
|
Loading…
Reference in New Issue
Block a user