116 lines
3.9 KiB
Bash
Executable File
116 lines
3.9 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
cd ~
|
|
|
|
install() {
|
|
read -r -p "❔ Установить $1? (y/N): " choice
|
|
case "$choice" in
|
|
y|Y|yes|Yes|YES ) eval "$2" ;;
|
|
* ) echo "🛫 Пропущено: $1" ;;
|
|
esac
|
|
}
|
|
|
|
|
|
echo "📥️ Обновление репозиториев и системы..."
|
|
sudo pacman -Syu
|
|
|
|
|
|
echo "⚠️ Учтите, что отсутствие некоторых пакетов приведет к некорректной работе системы!"
|
|
|
|
|
|
install "Git, Curl (жизненно необходимые пакеты)" \
|
|
"sudo pacman -S --noconfirm git curl"
|
|
|
|
|
|
install "Yay (AUR помощник) [Без Yay вы не сможете установить часть пакетов!]" \
|
|
"sudo pacman -S --needed base-devel && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si"
|
|
|
|
|
|
install "Network Manager (сетевые инструменты)" \
|
|
"sudo pacman -S --noconfirm network-manager network-manager-applet"
|
|
|
|
|
|
install "Bluez, Blueman (bluetooth инструменты)" \
|
|
"sudo pacman -S --noconfirm bluez bluez-tools blueman"
|
|
|
|
|
|
install "Xdg-utils, Xdg-desktop-portal (интеграция приложений с рабочим столом)" \
|
|
"sudo pacman -S --noconfirm xdg-utils xdg-desktop-portal-hyprland xdg-desktop-portal-gtk xdg-desktop-portal-wlr xdg-desktop-portal"
|
|
|
|
|
|
install "Brightnessctl (управления яркостью)" \
|
|
"sudo pacman -S --noconfirm brightnessctl"
|
|
|
|
|
|
install "playerctl (управление медиа плеером)" \
|
|
"sudo pacman -S --noconfirm playerctl"
|
|
|
|
|
|
install "Rose Pine (тема курсора)" \
|
|
"yay -S --noconfirm rose-pine-cursor rose-pine-hyprcursor"
|
|
|
|
|
|
install "Papirus (иконки)" \
|
|
"sudo pacman -S --noconfirm papirus-icon-theme"
|
|
|
|
|
|
install "Grim, Hyprshot (cкриншоты)" \
|
|
"sudo pacman -S --noconfirm grim && yay -S --noconfirm hyprshot"
|
|
|
|
|
|
install "Wlogout (меню выключения)" \
|
|
"yay -S --noconfirm wlogout"
|
|
|
|
|
|
install "Waybar (wayland бар)" \
|
|
"sudo pacman -S --noconfirm waybar"
|
|
|
|
|
|
install "Rofi (меню запуска + меню буфера обмена)" \
|
|
"sudo pacman -S --noconfirm rofi"
|
|
|
|
|
|
install "Cliphist (буфер обмена)" \
|
|
"sudo pacman -S --noconfirm wl-clipboard cliphist"
|
|
|
|
|
|
install "Kitty (эмулятор терминала)" \
|
|
"sudo pacman -S --noconfirm kitty"
|
|
|
|
install "Zsh + Oh My Zsh (оболочка + менеджер плагинов)" \
|
|
"sudo pacman -S --noconfirm zsh \
|
|
&& sh -c \"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\""
|
|
|
|
install "Powerlevel10k (тема для Zsh)" \
|
|
"git clone --depth=1 https://github.com/romkatv/powerlevel10k.git \${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k"
|
|
|
|
install "Плагины для Zsh" \
|
|
"git clone https://github.com/zsh-users/zsh-syntax-highlighting.git \${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting && \
|
|
git clone https://github.com/zsh-users/zsh-autosuggestions \${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions"
|
|
|
|
|
|
install "Nwg-look (настройка GTK)" "sudo pacman -S --noconfirm nwg-look"
|
|
|
|
|
|
install "Swaync (уведомления похожие на GNOME)" "sudo pacman -S --noconfirm swaync"
|
|
|
|
|
|
install "Waypaper (интерфейс для управления обоями)" "yay -S --noconfirm waypaper"
|
|
|
|
install "Swww (бэкенд для статичных обоев)" "sudo pacman -S --noconfirm swww"
|
|
|
|
install "Mpvpaper (бэкенд для видео обоев)" "sudo pacman -S --noconfirm mpvpaper"
|
|
|
|
|
|
install "Emote (выбор эмодзи)" "yay -S --noconfirm emote"
|
|
|
|
|
|
install "Flameshot (мощная утилита для скриншотов)" "sudo pacman -S --noconfirm flameshot"
|
|
|
|
|
|
install "Fastfetch (похвастаться линуксом)" "sudo pacman -S --noconfirm fastfetch"
|
|
|
|
|
|
echo "✅ Установка завершена!"
|