diff --git a/setup b/setup index 595e074..7a2b1dd 100755 --- a/setup +++ b/setup @@ -28,7 +28,6 @@ trap 'echo -e "\nCaught Ctrl+C, exiting..."; exit 130' SIGINT # Read platform to install on (only if no platform file present in ~/.config/) platform="" if [[ -f ~/.config/platform ]]; then - echo "Config type already selected, skipping" platform=$(cat ~/.config/platform) else read -p "Choose the configs to install, Laptop or Desktop (l/D): " platform @@ -58,7 +57,6 @@ fi # hyprvim config hyprvim="" if [[ -f ~/.config/hyprvim ]]; then - echo "hyprvim config already specified, skipping" hyprvim=$(cat ~/.config/hyprvim) else read -p "Would you like to use hyprvim? (Y/n) " hyprvim @@ -81,19 +79,19 @@ cp -r ./config/xdg-desktop-portal/ ~/.config/ # Depending on platform, remove one or the other config and rename remaining one if [[ "$platform" == "d" ]]; then - echo "Running on desktop" + echo "==> Running on desktop" cp -f ~/.config/hypr/hyprland_desktop.conf ~/.config/hypr/hyprland.conf else - echo "Running on laptop" + echo "==> Running on laptop" cp -f ~/.config/hypr/hyprland_laptop.conf ~/.config/hypr/hyprland.conf fi # Enable or disable "hyprvim" (using hyprland with vim-inspired modes) if [[ "$hyprvim" == "y" ]]; then - echo "Enabling hyprvim" + echo "==> Enabling hyprvim" mv -f ~/.config/hypr/hyprland/mode-binds.conf ~/.config/hypr/hyprland/binds.conf else - echo "Disabling hyprvim" + echo "==> Disabling hyprvim" rm -rf ~/.config/hypr/hyprland/modal-binds rm ~/.config/hypr/hyprland/mode-binds.conf fi @@ -114,6 +112,7 @@ cp ./config/lint/indentconfig.yaml ~/.indentconfig.yaml echo " => Installing yazi plugins " +rm -rf ~/.config/yazi/plugins/* ya pkg upgrade if [[ "$restart" == "y" ]]; then