Files
dotfiles/migrate.sh
T

28 lines
796 B
Bash
Executable File

#!/bin/sh
echo "
_ _ ( ) ( )_
(_) _ _ ___ (_) ___| |__ _ _| _)____
| |/ _ ) _ \ | __) _ \ ) ( ) | (_ )
| | (_| | ( ) | |__ \ | | | (_) | |_ / /_
_ | |\__ _)_) (_)_)____/_) (_)\___/ \__)____)
( )_| |
\___/
=> Migration to V4
-> WARNING: This will remove the old configurations from the system
"
confirmation=""
read -p "Do you really want to remove the old configuration files and update to the new configs? (y/N) " confirmation
if [[ "$confirmation" == "y" ]]; then
rm -rf ~/.config/hypr
rm ~/.config/platform
rm -rf ~/.config/rofi
rm -rf ~/.config/ags
rm -rf ~/.config/astal
else
echo "Aborting."
fi