-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharch.sh
executable file
·65 lines (55 loc) · 1.08 KB
/
arch.sh
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/env bash
set -e
SRCDIR=`pwd`
echo installing arch dependencies
echo creating folder structure
mkdir -p ~/src
echo installing prerequisites
sudo pacman -S base-devel --needed
echo installing AUR helper
curl -fLo /tmp/trizen.tar.gz https://aur.archlinux.org/cgit/aur.git/snapshot/trizen.tar.gz
tar -xzf /tmp/trizen.tar.gz --directory ~/src
cd ~/src/trizen && makepkg -si
echo installing regular dependencies
trizen -S \
calc \
ctags \
fzf \
grml-zsh-config \
neovim-git \
pass \
python-greenlet \
python-neovim \
python-pip \
typescript-language-server \
vifm \
vim-runtime-git \
zsh \
zsh-autosuggestions \
zsh-completions \
--needed
if [[ "$GUI" != "false" ]]; then
echo installing GUI dependencies
trizen -S \
acpi \
acpilight \
alacritty \
alsa-utils \
conky \
dmenu \
dunst \
gimp \
gufw \
imv \
mpv \
scrot \
slock \
ttc-iosevka-ss01 \
xorg \
xorg-xinit \
zathura \
zathura-pdf-mupdf \
--needed
echo installing dwm
cd "$SRCDIR/dwm-git" && makepkg -sfi && cd ..
fi