#! /bin/bash source scripts/p.sh # Install script dependencies p i curl git stow bat fzf eza zoxide less if [ ! $(command -v brew) ]; then /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" fi 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. Rebooting in 5 seconds...${ENDCOLOR}" sleep 5 systemctl reboot reboot