-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
137 lines (110 loc) · 2.19 KB
/
install.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#!/bin/bash
echo
echo "Installing all the requierments..."
echo
PKGS=(
'git'
'tmux'
'zsh'
'neovim'
'autojump'
'python'
'python-pip'
'openvpn'
'openssh'
'bat'
'ncdu'
'prettyping'
'xorg-xwininfo'
'i3-gaps'
'xorg-xprop'
'picom'
'rofi'
'i3status-rust'
'dunst'
'htop'
'feh'
'i3lock'
'imagemagick'
'scrot'
'flameshot'
'pdftk'
'neofetch'
'w3m'
'ranger'
'ttf-font-awesome'
'ttf-font-awesome-5'
'ttf-dejavu'
'noto-fonts'
'noto-fonts-emoji'
'terminus-font'
'ttf-noto-nerd',
'ttf-liberation'
'ttf-droid'
'ttf-jetbrains-mono'
'eza'
'ghc'
'fzf'
'jq'
'noise-suppression-for-voice'
'python-debugpy'
'delve'
'lazygit'
)
for PKG in "${PKGS[@]}"; do
echo "INSTALLING ${PKG}"
yay -S "$PKG" --noconfirm --needed
done
PIPS=(
'pynvim'
'jedi'
'mypy'
)
for PIP in "${PIPS[@]}"; do
echo "INSTALLING ${PIP}"
pip3 install "$PIP"
done
echo
echo "Copying the configuration files..."
echo
cd
mkdir -p $HOME/.zsh
mkdir -p $HOME/.config
mkdir -p $HOME/.icons
mkdir -p $HOME/.local/bin
git clone --recursive https://github.com/f-str/dotfiles
cd dotfiles
echo
echo "Enabling cusom systemd user services..."
echo
systemctl --user daemon-reload
systemctl --user enable --now pipewire-input-filter-chain.service
echo
echo "Compiling custom utilities"
echo
ghc -dynamic utils/pert/pert.hs
echo
echo "Copying files to home dirctory"
echo
cp -a .face $HOME/
cp -a .gitconfig $HOME/
cp -a .zshrc $HOME/
cp -ar .zsh/. $HOME/.zsh/
cp -ar .icons/. $HOME/.icons/
cp -ar .config/. $HOME/.config/
cp -a .tmux.conf $HOME/
echo
echo "Move custom compiled binaries to direcotries"
echo
mv utils/pert/pert $HOME/.local/bin/
# Remove the dotfiles directory
rm -rf $HOME/dotfiles
# Rebuild the font cache
fc-cache -f
echo
echo "Installing Tmux plugin manager"
echo
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
echo
echo "Done!"
echo