Hyprland-dotfiles/1-install.sh

63 lines
2.3 KiB
Bash
Raw Normal View History

2023-02-17 11:11:48 -05:00
#!/bin/bash
# ------------------------------------------------------
# Install Script for dotfiles and configuration
# yay must be installed
# ------------------------------------------------------
read -p "Do you want to start? yay must be installed! " s
echo "START INSTALLATION..."
# ------------------------------------------------------
# Install required packages
# ------------------------------------------------------
echo "-> Install main packages"
2023-02-19 12:53:21 -05:00
sudo pacman -S alacritty nitrogen picom starship chromium slock neomutt rofi dunst ueberzug mpv freerdp spotifyd xfce4-power-manager python-pip thunar mousepad lxappearance papirus-icon-theme ttf-font-awesome ttf-fira-sans ttf-fira-code ttf-firacode-nerd figlet
2023-02-17 11:11:48 -05:00
# ------------------------------------------------------
# Install required packages
# ------------------------------------------------------
echo "-> Install AUR packages"
yay -S pywal timeshift adwaita-dark
# ------------------------------------------------------
# Install Pip packages
# ------------------------------------------------------
echo "-> Install Pip packages"
pip install psutil
# ------------------------------------------------------
# Create symbolic links
# ------------------------------------------------------
echo "-> Create symbolic links"
mkdir ~/.config
ln -s ~/dotfiles/qtile/ ~/.config
ln -s ~/dotfiles/alacritty/ ~/.config
ln -s ~/dotfiles/neomutt/ ~/.config
ln -s ~/dotfiles/picom/ ~/.config
ln -s ~/dotfiles/ranger/ ~/.config
ln -s ~/dotfiles/rofi/ ~/.config
ln -s ~/dotfiles/spotifyd/ ~/.config
ln -s ~/dotfiles/vim/ ~/.config
ln -s ~/dotfiles/starship/starship.toml ~/.config/starship.toml
rm ~/.bashrc
ln -s ~/dotfiles/.bashrc ~/.bashrc
# ------------------------------------------------------
# Clone wallpapers
# ------------------------------------------------------
echo "-> Install wallpapers"
git clone https://gitlab.com/stephan-raabe/wallpaper.git ~/wallpaper
# ------------------------------------------------------
# Install startship plain text
# ------------------------------------------------------
2023-02-19 04:54:04 -05:00
# starship preset plain-text-symbols > ~/.config/starship.toml
2023-02-17 11:11:48 -05:00
# ------------------------------------------------------
# Init pywal
# ------------------------------------------------------
2023-02-19 04:54:04 -05:00
wal -i ~/wallpaper/default.jpg -n
2023-02-17 11:11:48 -05:00
echo "DONE!"