-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
94 lines (73 loc) · 2.58 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
#!/bin/bash
# Default packages are for the configuration and corresponding .config folders
# Install packages after installing base Debian with no GUI
username=$(id -u -n 1000)
builddir=$(pwd)
# Update packages list and update system
sudo apt update
sudo apt upgrade -y
# Install nala
sudo apt install nala -y
# Fetch Latest/Fastest Mirrors
sudo nala fetch --debian bookworm --https-only
# XFCE4 Minimal
# sudo nala install -y xfce4 xfce4-goodies
# Making .config and Moving config files and background to Pictures
cd $builddir
mkdir -p /home/$username/.config
mkdir -p /home/$username/.fonts
mkdir -p /home/$username/Pictures
mkdir -p /home/$username/Pictures/backgrounds
cp wallpaper.png /home/$username/Pictures/backgrounds/
chown -R $username:$username /home/$username
# Installing Essential Programs
sudo nala install feh alacritty rofi dunst copyq thunar thunar-archive-plugin nitrogen lxpolkit x11-xserver-utils unzip wget pulseaudio pavucontrol build-essential libx11-dev libxft-dev libxinerama-dev -y
# Installing Other less important Programs
sudo nala install neofetch arandr flameshot psmisc lxappearance papirus-icon-theme lxappearance fonts-noto-color-emoji lightdm -y
# Additional Programs
sudo nala install unzip curl htop psensor flatpak
# Create folders in user directory (eg. Documents,Downloads,etc.)
xdg-user-dirs-update
# Download Nordic Theme
cd /usr/share/themes/
sudo git clone https://github.com/EliverLara/Nordic.git
# Installing fonts
cd $builddir
sudo nala install fonts-font-awesome -y
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
unzip FiraCode.zip -d /home/$username/.fonts
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Meslo.zip
unzip Meslo.zip -d /home/$username/.fonts
chown $username:$username /home/$username/.fonts/*
# Reloading Font
fc-cache -vf
# Removing zip Files
rm ./FiraCode.zip ./Meslo.zip
# Install Nordzy cursor
git clone https://github.com/alvatip/Nordzy-cursors
cd Nordzy-cursors
./install.sh
rm -rf Nordzy-cursors
sudo nala update
# Enable graphical login and change target from CLI to GUI
systemctl enable lightdm
systemctl set-default graphical.target
# Install Qtile
cd $builddir
sh scripts/qtile-install
# Install Qtile-Extras
cd $builddir
sh scripts/qtile-extras-install
# Installing Picom
#cd $builddir
#sh scripts/picom-install
# Use Nala
cd $builddir
sudo sh scripts/usenala
# copy my configuration files into the ~/.config directory
cd $builddir
cp -r dotconfig/* /home/$username/.config/
# Update Packages
sudo apt update
sudo apt autoremove
printf "\e[1;32mYou can now reboot! Thanks you.\e[0m\n"