added install script
This commit is contained in:
1 parent
f6f9db1826
commit
84e020f223
1 file changed
+26
+26
@@ -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
|
||||
Reference in new issue
Block a user