diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..45e2d1c --- /dev/null +++ b/install.sh @@ -0,0 +1,26 @@ +#!/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