new feat: fcitx5 install
This commit is contained in:
24
.install/fcitx5.sh
Normal file
24
.install/fcitx5.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
# ------------------------------------------------------
|
||||
# Select fcitx5 or not
|
||||
# ------------------------------------------------------
|
||||
echo -e "${GREEN}"
|
||||
figlet "fcitx5"
|
||||
echo -e "${NONE}"
|
||||
|
||||
if gum confirm "Do you want to install fcitx5 and chinese input method?" ;then
|
||||
packagesPacman=(
|
||||
"fcitx5"
|
||||
"fcitx5-chinese-addons"
|
||||
"fcitx5-configtool"
|
||||
"fcitx5-gtk"
|
||||
"fcitx5-qt"
|
||||
);
|
||||
packagesYay=(
|
||||
"fcitx5-skin-seasons"
|
||||
);
|
||||
source .install/install-packages.sh
|
||||
echo "# -----------------------------------------------------" >> hypr/conf/hyprland.conf
|
||||
echo "# fcitx5 support" >> hypr/conf/hyprland.conf
|
||||
echo "# -----------------------------------------------------" >> hypr/conf/hyprland.conf
|
||||
echo "source = ~/dotfiles/hypr/conf/fcitx5.conf" >> hypr/conf/hyprland.conf
|
||||
fi
|
||||
Reference in New Issue
Block a user