Files
2026-03-06 17:32:12 -06:00

27 lines
662 B
Bash

#!/usr/bin/env bash
# This script is mainly intended for my own personal use. This may not work out of the box for you!!
echo "dotfile installer"
echo
echo "congrats on the reinstall dumbass."
read -p "this is gonna overwrite all your configs btw is that ok? (y/N) " yesno
if [[ ${yesno:0:1} == "y" ]]; then
cp dunst/ ~/.config/
cp fish/ ~/.config/
cp hypr/ ~/.config/
cp kitty/ ~/.config/
cp rofi/ ~/.config/
cp waybar/ ~/.config/
cp nvim/ ~/.config/
sudo cp nixos/* /etc/nixos/
echo "done."
echo "adding update-dotfiles to ~/.local/bin..."
chmod +x update-dotfiles
cp update-dotfiles ~/.local/bin
echo "done."
else
echo "no worries"
exit 1
fi