-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathinstall_user.sh
More file actions
executable file
·60 lines (50 loc) · 1.54 KB
/
Copy pathinstall_user.sh
File metadata and controls
executable file
·60 lines (50 loc) · 1.54 KB
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
#!/bin/bash
echo "
###############################################################################
# My git repos
###############################################################################
"
# Dotfiles
git clone --recursive git@github.com:ctjhoa/dotfiles.git || git clone --recursive https://github.com/ctjhoa/dotfiles.git
cd dotfiles
./install.sh
cd -
# St (Simple terminal - suckless)
git clone git@github.com:ctjhoa/st.git || git clone https://github.com/ctjhoa/st.git
cd st
./install.sh
cd -
# Dwm (Dynamic Window Manager - suckless)
git clone git@github.com:ctjhoa/dotfiles.git || git clone https://github.com/ctjhoa/dwm.git
cd dwm
./install.sh
cd -
echo "
###############################################################################
# PGP
###############################################################################
"
# Create gpg db
gpg --list-keys
# Packages signature checking
echo "keyserver-options auto-key-retrieve" >> .gnupg/gpg.conf
echo "keyserver hkp://pgp.mit.edu" >> .gnupg/gpg.conf
echo "
###############################################################################
# User packages
###############################################################################
"
function install_aur {
for ARG in "$@"
do
if ! command -v $ARG; then
git clone https://aur.archlinux.org/${ARG}.git
cd $ARG
makepkg -sri --noconfirm
fi
done
}
# Install AUR packages
install_aur yay libreoffice-extension-languagetool arch-update
# Install more fonts
# ttf-lato ttf-paratype ttf-clear-sans ttf-fira-mono ttf-monaco dina-font tamsyn-font