Dotfiles/hyprland-full-install-scrip...

115 lines
2.1 KiB
Bash

#install components
sudo pacman -S \
base \
base-devel \
btop \
btrfs-progs \
curl \
dolphin \
dunst \
fastfetch \
firefox \
flatpak \
gcc \
git \
gnu-netcat \
greetd-tuigreet \
grim \
grub \
gst-plugin-pipewire \
htop \
hyfetch \
hyprland \
iwd \
jq \
kitty \
ldns \
libpulse \
linux \
linux-firmware \
micro \
nano \
networkmanager \
nmap \
openssh \
nerd-fonts \
pipewire \
pipewire-alsa \
pipewire-jack \
pipewire-pulse \
polkit-kde-agent \
qt5-wayland \
qt6-wayland \
slurp \
smartmontools \
spotify-player \
spotifyd \
swww \
unzip \
vim \
waybar \
wget \
wireless_tools \
wireplumber \
wireshark-qt \
wofi \
wpa_supplicant \
xdg-desktop-portal-hyprland \
xdg-utils \
xf86-video-amdgpu \
xf86-video-ati \
xf86-video-nouveau \
xf86-video-vmware \
xorg-server \
xorg-xinit \
yay-debug \
zip \
zram-generator \
zsh
#starship setup
curl -sS https://starship.rs/install.sh | sh
#ohmyzsh setup
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
#ohmyzsh plugins
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
#aur/yay setup
cd ~
mkdir install-tmp
cd install-tmp
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
yay --version
cd ~/install-tmp
#cli dotfiles
cd ~
rm ~/.bashrc
rm ~/.zshrc
ln -s ~/Dotfiles/.bashrc ~/.bashrc
ln -s ~/Dotfiles/.zshrc ~/.zshrc
ln -s ~/Dotfiles/starship.toml ~/.config/starship.toml
ln -s ~/Dotfiles/micro/ ~/.config/micro
ln -s ~/Dotfiles/git/.gitconfig ~/.gitconfig
#desktop env dotfiles
ln -s ~/Dotfiles/desktopenvs/hyprland/waybar/ ~/.config/waybar
ln -s ~/Dotfiles/desktopenvs/hyprland/kitty/ ~/.config/kitty
ln -s ~/Dotfiles/desktopenvs/hyprland/hypr/ ~/.config/hypr
ln -s ~/Dotfiles/desktopenvs/hyprland/wofi/ ~/.config/wofi
#zsh setup
chsh -s /usr/bin/zsh
homectl update --shell=/usr/bin/zsh
#greetd setup
sudo cp -f ~/Dotfiles/desktopenvs/hyprland/greetd-tuigreet/config.toml /etc/greetd/config.toml
sudo systemctl enable greetd.service
#final reboot
systemctl reboot