#!/usr/bin/env bash

set -ue

source $(dirname "${BASH_SOURCE[0]:-$0}")/utilfuncs.sh

function install_extra() {
  local distro
  distro=$(whichdistro)
  if [[ $distro == "debian" ]]; then
    :
  elif [[ $distro == "redhat" ]]; then
    :
  elif [[ $distro == "arch" ]]; then
    sudo pacman -S --noconfirm --needed noto-fonts-cjk chromium lightdm
    sudo pacman -S --noconfirm --needed sysstat alsa-utils
    sudo pacman -S --noconfirm --needed fcitx5-mozc fcitx5-configtool fcitx5-qt
    # sudo pacman -S --noconfirm --needed fcitx-mozc fcitx-configtool fcitx-gtk3 fcitx-qt5
    sudo pacman -S --noconfirm --needed ttf-dejavu noto-fonts-emoji
  elif [[ $distro == "alpine" ]]; then
    :
  else
    :
  fi
}

install_extra

source $(dirname "${BASH_SOURCE[0]:-$0}")/setup-fcitx.sh

#!/usr/bin/env bash

set -ue

source $(dirname "${BASH_SOURCE[0]:-$0}")/utilfuncs.sh

function install_extra() {
  local distro
  distro=$(whichdistro)
  if [[ $distro == "debian" ]]; then
    :
  elif [[ $distro == "redhat" ]]; then
    :
  elif [[ $distro == "arch" ]]; then
    sudo pacman -S --noconfirm --needed noto-fonts-cjk chromium lightdm
    sudo pacman -S --noconfirm --needed sysstat alsa-utils
    sudo pacman -S --noconfirm --needed fcitx5-mozc fcitx5-configtool fcitx5-qt fcitx5-gtk
    # sudo pacman -S --noconfirm --needed fcitx-mozc fcitx-configtool fcitx-gtk3 fcitx-qt5
    sudo pacman -S --noconfirm --needed ttf-dejavu noto-fonts-emoji
  elif [[ $distro == "alpine" ]]; then
    :
  else
    :
  fi
}

install_extra

source $(dirname "${BASH_SOURCE[0]:-$0}")/setup-fcitx.sh

Fix not to input on browser
ime: Fix not to input on browser
