summaryrefslogtreecommitdiff
path: root/.config/yadm/scripts/bootstrap/packages-aur
blob: 55acf8c6d48e0cc6f242d9754e7d03bd35b8a1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/zsh


ZSH_SOURCE=${(%):-%x}

$(dirname $ZSH_SOURCE)/aurutils/bootstrap

export AUR_PAGER=nvim
aur sync -nr autojump
aur sync -nr sway-services-git
aur sync -nr nnn-nerd
aur sync -nr sunwait

sudo pacman -Sy \
  autojump \
  sway-services-git \
  nnn-nerd \
  sunwait

echo "Install graphical applications from aur? (could take a while) [Y/n]"
read REPLY
if [[ $REPLY =~ ^[Yy]$ ]]
then
  aur sync -nr freetube-bin
  aur sync -nr lagrange
  aur sync -nr localsend-bin
  aur sync -nr moonlight-qt-bin

  sudo pacman -Sy \
    freetube-bin \
    lagrange \
    localsend-bin \
    moonlight-qt-bin
fi

echo "Install japanese keyboard from aur? (will take a while) [Y/n]"
read REPLY
if [[ $REPLY =~ ^[Yy]$ ]]
then
  $(dirname $ZSH_SOURCE)/fcitx5/bootstrap
fi