Create ibus

This commit is contained in:
2022-11-09 08:37:17 +07:00
committed by GitHub
parent 55377dc75c
commit cdb7053bf3
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
EN_ibus="xkb:us::eng"
VN_ibus="Bamboo"
lang=`ibus engine`
if [ $lang = $EN_ibus ];then
ibus engine $VN_ibus
notify-send "[VI] Xin chào" -t 2000 -a "System"
fi
if [ $lang = $VN_ibus ];then
notify-send "[EN] Welcome" -t 2000 -a "System"
ibus engine $EN_ibus
fi