hyprland-dotfiles/1-install.sh

94 lines
3.5 KiB
Bash
Raw Normal View History

2023-02-17 16:11:48 +00:00
#!/bin/bash
2023-02-26 15:32:15 +00:00
# _ _ __ _ _
# __| | ___ | |_ / _(_) | ___ ___
# / _` |/ _ \| __| |_| | |/ _ \/ __|
# | (_| | (_) | |_| _| | | __/\__ \
# \__,_|\___/ \__|_| |_|_|\___||___/
#
# by Stephan Raabe (2023)
2023-02-17 16:11:48 +00:00
# ------------------------------------------------------
# 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-03-30 09:16:52 +00:00
sudo pacman -S alacritty scrot nitrogen picom starship slock neomutt neovim 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 cmatrix qalculate-gtk adapta-gtk-theme terminator polybar
2023-02-17 16:11:48 +00:00
# ------------------------------------------------------
# Install required packages
# ------------------------------------------------------
echo "-> Install AUR packages"
2023-04-10 15:04:46 +00:00
yay -S brave-bin pywal timeshift tela-circle-icon-theme-orange pfetch preload bibata-cursor-theme
2023-03-15 09:13:45 +00:00
# ------------------------------------------------------
# Enable services
# ------------------------------------------------------
sudo systemctl enable preload
2023-02-17 16:11:48 +00:00
# ------------------------------------------------------
# Install Pip packages
# ------------------------------------------------------
echo "-> Install Pip packages"
2023-03-02 08:45:31 +00:00
pip install psutil rich click
2023-02-17 16:11:48 +00:00
# ------------------------------------------------------
# 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
2023-02-26 09:52:21 +00:00
ln -s ~/dotfiles/nvim/ ~/.config
2023-04-04 09:22:52 +00:00
ln -s ~/dotfiles/polybar ~/.config
2023-04-08 14:26:43 +00:00
ln -s ~/dotfiles/dunst ~/.config
2023-02-17 16:11:48 +00:00
ln -s ~/dotfiles/starship/starship.toml ~/.config/starship.toml
rm ~/.bashrc
ln -s ~/dotfiles/.bashrc ~/.bashrc
2023-04-10 15:04:46 +00:00
# ------------------------------------------------------
# Install Theme, Icons and Cursor
# ------------------------------------------------------
2023-02-22 10:06:09 +00:00
rm ~/.gtkrc-2.0
ln -s ~/dotfiles/.gtkrc-2.0 ~/.gtkrc-2.0
2023-02-22 13:35:50 +00:00
rm -r ~/.config/gtk-3.0/
ln -s ~/dotfiles/gtk-3.0/ ~/.config/
2023-04-10 15:04:46 +00:00
rm ~/.Xresources
ln -s ~/dotfiles/.Xresources ~/.Xresources
rm -r ~/.icons
ln -s ~/dotfiles/.icons/ ~/
2023-02-17 16:11:48 +00:00
# ------------------------------------------------------
# Clone wallpapers
# ------------------------------------------------------
echo "-> Install wallpapers"
git clone https://gitlab.com/stephan-raabe/wallpaper.git ~/wallpaper
# ------------------------------------------------------
# Install startship plain text
# ------------------------------------------------------
2023-02-19 09:54:04 +00:00
# starship preset plain-text-symbols > ~/.config/starship.toml
2023-02-17 16:11:48 +00:00
2023-04-04 09:22:52 +00:00
# ------------------------------------------------------
# Install custom issue (login prompt)
# ------------------------------------------------------
sudo cp ~/dotfiles/issue /etc/issue
2023-02-17 16:11:48 +00:00
# ------------------------------------------------------
# Init pywal
# ------------------------------------------------------
2023-02-19 09:54:04 +00:00
wal -i ~/wallpaper/default.jpg -n
2023-02-17 16:11:48 +00:00
2023-03-15 09:13:45 +00:00
echo "DONE! Reboot suggested..."