Files
dotfiles/install.sh

37 lines
941 B
Bash
Executable File

#! /bin/bash
# Install Paru
if [ ! $(command -v paru) ]; then
sudo pacman -S --needed base-devel
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
cd ..
rm -rf paru
fi
# Install script dependencies
paru -Sy curl git stow bat fzf eza zoxide less nextcloud-client
# Install Apps
paru -Sy gitg vscodium-bin ollama obsidian signal-desktop fragments fractal secrets newsflash eyedropper obfuscate gnome-console gnome-calendar impression gnome-podcasts geary gnome-builder epiphany ungoogled-chromium-bin
if [ $(pwd) != "$HOME/dotfiles" ]; then
cd $HOME
git clone https://github.com/TrudeEH/dotfiles
cd dotfiles
fi
echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}"
stow -v -t $HOME dotfiles --adopt
git diff
git reset --hard
# dconf reset -f /
dconf load / < dconf-settings
xdg-settings set default-web-browser org.gnome.Epiphany.desktop
echo
echo -e "${GREEN}[I] Done.${ENDCOLOR}"