.dotfiles/scripts/development.sh
tombdf 15b6581aa1
feat(install): add initial setup script
- Added install.sh script to automate the installation process.
- Included functions for initial checks, component installation, and
  configuration setup.
- Ensured the script runs with strict mode enabled for better error
  handling.
- Added user confirmation prompt before starting the setup.
- Displayed a completion message and prompt for system reboot.
2024-12-18 01:00:03 +01:00

21 lines
929 B
Bash

#!/bin/bash
# Installing Vim
echo -e "${GREEN}Setting up Vim...${DEFAULT}"
check_installation "sudo pacman -S --noconfirm --needed" "vim"
mkdir -p $HOME/.vim/{autoload,backup,colors,plugged}
curl -fLo $HOME/.vim/autoload/plug.vim --create-dirs "https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
check_installation "yay -S --noconfirm --needed" "code-minimap"
# Installing NeoVim
echo -e "${GREEN}Setting up NeoVim...${DEFAULT}"
check_installation "sudo pacman -S --noconfirm --needed" "neovim wl-clipboard"
# Installing Kitty
echo -e "${GREEN}Setting up Kitty...${DEFAULT}"
check_installation "sudo pacman -S --noconfirm --needed" "kitty"
echo -e "${GREEN}Setting up Gruvbox theme for Kitty...${DEFAULT}"
mkdir -p $HOME/.config/kitty
git clone --depth 1 https://github.com/dexpota/kitty-themes.git $HOME/.config/kitty/kitty-themes
ln -sf kitty-themes/themes/gruvbox_dark.conf $HOME/.config/kitty/theme.conf