1
0
Dotfiles/install.sh

54 lines
1.1 KiB
Bash
Executable File

#!/bin/bash
set -e
sudo pacman -S --noconfirm --needed \
git \
ghostty \
lazygit \
swww \
wl-clipboard \
ripgrep \
wofi \
go \
swaybg \
starship
sudo pacman -R --noconfirm alacritty
git clone https://aur.archlinux.org/yay.git /tmp/yay
(cd /tmp/yay && makepkg -si --noconfirm)
rm -rf /tmp/yay
yay -S --noconfirm --needed \
python-pywal16 \
python-pywalfox \
ttf-firacode-nerd \
neovim \
yazi \
zig \
raylib \
firefox
mkdir -p "$HOME/tmp"
git clone https://git.bouvais.lu/adrien/Dotfiles "/tmp/dotfiles" --depth 1
cp -r "/tmp/dotfiles/.config/"* "$HOME/.config/"
cp "/tmp/dotfiles/.bashrc" "$HOME/.bashrc"
mkdir -p "$HOME/Pictures/Wallpapers"
cp -r "/tmp/dotfiles/wallpapers/"* "$HOME/Pictures/Wallpapers/"
rm -rf /tmp/yay
git config --global user.name "adrien"
git config --global user.email "git@bouvais.lu"
ssh-keygen -t rsa -b 4096 -C "git@bouvais.com" -f "$HOME/.ssh/id_rsa" -N ""
pywalfox install
wal -i "$HOME/Pictures/Wallpapers/pywallpaper.jpg" -n --cols16
pywalfox update
echo "Dont forget to add Pywalfox extension to Firefox https://addons.mozilla.org/en-US/firefox/addon/pywalfox/"
echo "Then run 'pywalfox update'"