#!/bin/bash # ---- Initial setup ---- # Creating all the directories echo "Creating all the directories...." mkdir -p ~/.config/bash mkdir -p ~/Documents/obsidian/Notes mkdir -p ~/Pictures/Screenshots mkdir -p ~/Pictures/Wallpapers mkdir ~/Downloads mkdir ~/Programming mkdir ~/Public mkdir ~/Music mkdir ~/Videos mkdir ~/config-scripts mkdir ~/scripts mkdir -p ~/tmp/daily # Creating extra files echo "Creating extra files...." touch ~/.bash_profile touch ~/.bash_exports touch ~/.inputrc touch ~/.bashrc touch ~/.bash_aliases touch ~/.bash_private # Creating extra links echo "Creating extra links...." ln -s ~/.bash_profile ~/.config/bash/bash_profile ln -s ~/.bash_exports ~/.config/bash/bash_exports ln -s ~/.inputrc ~/.config/bash/inputrc ln -s ~/.bashrc ~/.config/bash/bashrc ln -s ~/.bash_aliases ~/.config/bash/bash_aliases ln -s ~/.bash_private ~/.config/bash/bash_private # ---- Packages setup ---- # Updating package databases & installed packages echo "Updating package databases & installed packages...." sudo pacman -Syu --noconfirm # Installing the base packages echo "Installing the base packages...." sudo pacman -S --needed git base-devel less jq inetutils # Installing extra packages echo "Installing extra packages...." sudo pacman -S --noconfirm yadm wl-clipboard hyprland uwsm hypridle hyprlock brightnessctl sudo pacman -S --noconfirm xdg-desktop-portal-hyprland xdg-desktop-portal xdg-desktop-portal-gtk sudo pacman -S --noconfirm rofi waybar dunst awww kitty neovim nwg-look grim slurp sudo pacman -S --noconfirm thunar thunar-shares-plugin thunar-archive-plugin thunar-volman sudo pacman -S --niconfirm gvfs gvfs-mtp gvfs-afc gvfs-nfs gvfs-smb gvfs-goa gvfs-wsdd gvfs-dnssd gvfs-gphoto2 # ---- Config setup ---- # This will delete all current dotfiles. Please be careful! # Cloning config from git echo "Cloning config from git...." yadm clone https://git.frik.su/Beesquit/dotfiles.git yadm reset --hard origin/main ya pkg upgrade