-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathINSTALL.sh
50 lines (39 loc) · 1.43 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
#!/bin/bash
# Install necessary packages via pacman
cd $HOME
sudo pacman -S --noconfirm github-cli stow pamixer brightnessctl playerctl ncspot rofi-wayland hyprlock hypridle hyprpaper yazi neovim neofetch bottom networkmanager bluez bluez-utils rustup zsh imagemagick acpi
# Clone zenities dotfiles
cd $HOME/.config
mv hypr hypr.bak 2>/dev/null
mv kitty kitty.bak 2>/dev/null
cd $HOME/zenities
stow .
# Go back to home directory
cd $HOME
# Install yay (AUR helper)
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si --noconfirm
# Install additional packages via yay
yay -S --noconfirm cbonsai cmatrix cava python-pywal ttf-mononoki otf-hermit-nerd gvfs dbus libdbusmenu-glib libdbusmenu-gtk3 gtk-layer-shell brave-bin zoxide eza fzf thefuck jq socat tmux nvm btop hyprshot
# Install Powerlevel10k for zsh
yay -S --noconfirm zsh-theme-powerlevel10k-git
echo 'source /usr/share/zsh-theme-powerlevel10k/powerlevel10k.zsh-theme' >> ~/.zshrc
# Eww installation
cd $HOME
git clone https://github.com/elkowar/eww
cd eww
cargo build --release --no-default-features --features=wayland
cd target/release
chmod +x ./eww
sudo cp ./eww /usr/local/bin/
# Network Manager setup
sudo systemctl disable systemd-resolved
sudo systemctl disable systemd-networkd
sudo systemctl enable NetworkManager
sudo systemctl start NetworkManager
# Change shell to zsh
chsh -s /bin/zsh
# Reboot the system
echo "Installation complete. The system will now reboot."
sudo reboot