/
install.sh
46 lines (32 loc) · 1.02 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
#!/bin/bash
# PATHS
relative_path=$(dirname "$0")
scripts_dir="$relative_path/src/bin"
echo "Installing dependencies..."
# Yay
sh "$scripts_dir/yay_install.sh"
# Xorg Server
echo "[INFO] Installing Xorg Server..."
yay -S xorg xorg-xinit
# Bspwm
echo "[INFO] Installing bspwm..."
yay -S --noconfirm - <"$relative_path/src/bspwm.packages.conf"
# Extra packages
echo "[INFO] Installing app packages..."
yay -S --noconfirm - <"$relative_path/src/system.packages.conf"
# Make sure the user owns the code directory
# This is needed the apc extension to work
sudo chown -R $(whoami) /usr/share/code
# Install zsh
bash "$scripts_dir/zsh_install.sh"
# Configure apps
betterdiscordctl install
sh "$scripts_dir/install_code_extensions.sh"
# ▄▄ ▄▄ ▄ ▄ ▄▄▄ ▄ ▄▄▄
# █ █ █ ██▄█ █▄▄ █ █ ▄▄
# ▀▄▄ ▀▄▄▀ █ ▀█ █ █ █▄▄█
cp -r "$relative_path/home/." "$HOME"
# Set wallpaper
sh "$scripts_dir/set_wallpaper.sh"
# Install SDDM
sh "$scripts_dir/install_sddm.sh"