Dotfiles/update.sh

35 lines
2.2 KiB
Bash

#!/bin/bash
echo "Installing required Packages"
sudo pacman -S --noconfirm alacritty alsa-utils atftp base base-devel bash-language-server btop btrfs-progs bluez clang curl dolphin dunst ffmpeg fastfetch firefox flatpak fzf gcc git gnu-netcat greetd-tuigreet grim grub gst-plugin-pipewire htop hyfetch imagemagick inetutils iwd jq kitty ldns libpulse linux linux-firmware lua-language-server micro nano networkmanager nmap openssh pulsemixer pipewire nerd-fonts otf-font-awesome pipewire pipewire-alsa pipewire-jack pipewire-pulse polkit-kde-agent qt5-wayland qt6-wayland slurp smartmontools swww traceroute ttf-jetbrains-mono ufw unzip vim waybar wget wireless_tools wireplumber wireshark-qt wofi wpa_supplicant wl-clipboard qt6ct xdg-desktop-portal-hyprland xdg-utils xf86-video-amdgpu xf86-video-ati xf86-video-nouveau xf86-video-vmware xorg-server xorg-xinit yazi zip zram-generator z zsh nm-connection-editor qrencode neovim
yay -Syu --noprovides --answerdiff None --answerclean None --mflags "--noconfirm" hyprland-git hyprland-workspaces bluetuith tio fast-ssh uftpd nwg-dock-hyprland
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
#desktop env dotfiles
echo "Installing Desktop enviroment configs"
ln -s ~/Dotfiles/desktopenvs/hyprland/eww/ ~/.config/
ln -s ~/Dotfiles/desktopenvs/hyprland/kitty/ ~/.config/
ln -s ~/Dotfiles/desktopenvs/hyprland/hypr/ ~/.config/
ln -s ~/Dotfiles/desktopenvs/hyprland/wofi/ ~/.config/
ln -s ~/Dotfiles/desktopenvs/hyprland/dunst/ ~/.config/
ln -s ~/Dotfiles/desktopenvs/hyprland/alacritty ~/.config/alacritty
ln -s ~/Dotfiles/desktopenvs/hyprland/gtk/* ~/.config
sudo cp -r ~/Dotfiles/gtk-themes/cyberqueer /usr/share/themes
sudo cp ~/Dotfiles/desktopenvs/hyprland/btop/themes/cyberqueer.theme /usr/share/btop/themes
#cli dotfiles
echo "Installing bash and zsh setting files"
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/yazi/ ~/.config/yazi
ln -s ~/Dotfiles/spotify-tui/config.yml ~/.config/spotify-tui/config.yml