From 5c268a7d6d7372e28664f8ad2c3f3bf1c8ef126a Mon Sep 17 00:00:00 2001 From: Sankalp Tharu Date: Thu, 25 May 2023 00:59:45 +0545 Subject: [PATCH] fresh init --- install | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ install2 | 19 +++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100755 install create mode 100755 install2 diff --git a/install b/install new file mode 100755 index 0000000..f395cc4 --- /dev/null +++ b/install @@ -0,0 +1,52 @@ +#!/bin/bash +# Bash Menu Script Installasion Depedency + +# update first +sudo pacman -Syyu || error "Error syncing the repos." + +# make ricing directory +mkdir $HOME/Documents/Rice + +# Banner +echo -e "" +echo -e " Script For Installasion Depedency And Some Stuff © @S4NKALP" +echo -e "" + +# Main +PS3='Please enter your choice: ' +options=("Install Depedency [ Pacman ]" "Install [ yay ]" "Install [ paru ]" "Install Depedency [ yay ]" "Exit" ) +select opt in "${options[@]}" +do + case $opt in + "Install Depedency [ Pacman ]") + sudo pacman -Sy --needed acpi physlock webp-pixbuf-loader adobe-source-han-sans-otc-fonts zathura zathura-pdf-mupdf playerctl jgmenu ttf-materials-design-icons-git stacer ksuperkey geany geany-plugins ueberzug viewnior alsa-card-profiles alsa-firmware alsa-lib alsa-plugins alsa-tools alsa-topology-conf alsa-utils alsa-ucm-conf sxhkd bmon dialog dmenu feh fsarchiver gpick ffmpeg ffmpegthumbnailer imagemagick gvfs gvfs-afc gvfs-google gvfs-gphoto2 gvfs-mtp gvfs-smb highlight htop inetutils inotify-tools kitty libfm libva-mesa-driver light lxappearance maim mesa mpc mpd mpv mtools ncmpcpp network-manager-applet networkmanager nfs-utils openssh pavucontrol pulseaudio pulseaudio-alsa pulseaudio-equalizer-ladspa pulsemixer ranger reflector rofi rsync rxvt-unicode-terminfo thunar thunar-archive-plugin thunar-media-tags-plugin thunar-volman unrar unzip vulkan-radeon wpa_supplicant wmctrl xarchiver xclip xdg-user-dirs xdg-user-dirs-gtk xdg-utils xf86-video-amdgpu xf86-video-ati xf86-video-vesa xfce4-power-manager xfce4-settings youtube-dl zathura zsh zsh-autosuggestions zsh-completions zsh-syntax-highlighting xorg xorg-server jq xsettingsd dosfstools polkit zip tmux neovim playerctl wireless_tools numlockx neovim fzf + echo "----------------------------" + echo " install depedency finished " + echo "----------------------------" + ;; + "Install [ yay ]") + cd $HOME/Documents/Rice && git clone https://aur.archlinux.org/yay.git && cd yay && makepkg -si + echo "----------------------------" + echo " install yay finished " + echo "----------------------------" + ;; + "Install [ paru ]") + cd $HOME/Documents/Rice && git clone https://aur.archlinux.org/paru.git && cd paru && makepkg -si + echo "----------------------------" + echo " install paru finished " + echo "----------------------------" + ;; + "Install Depedency [ yay ]") + yay -S --noconfirm --needed bspwm-git dunst-git nerd-fonts-fira-code noto-fonts-emoji ani-cli picom-git noto-fonts-main timidity++ backlight ttf-iosevka ttf-sarasa-gothic ttf-font-awesome ttf-jetbrains-mono nerd-fonts-jetbrains-mono ttf-terminus-nerd ttf-fira-code brightnessctl cava eww-git i3lock-color papirus-icon-theme papirus-linux-universe picom-git polybar xfce-polkit plymouth plymouth-theme-spinner-alt-git todo-bin greenclip + echo "----------------------------" + echo " install depedency finished " + echo "----------------------------" + ;; + "Exit") + exit 0 + ;; + *) echo "Invalid Selection $REPLY";; + esac + break +done + diff --git a/install2 b/install2 new file mode 100755 index 0000000..0e3c2ea --- /dev/null +++ b/install2 @@ -0,0 +1,19 @@ +#!/bin/sh + +echo "" +echo "Installing Fonts.... " + paru -S --noconfirm --needed ttf-sourcecodepro-nerd mpdris2-git + +echo "" +echo "Enabling MPD Service....." + systemctl --user enable mpd.service + systemctl --user start mpd.service + +echo "" +echo "Installing SDDM and themes..." + sudo pacman -S qt5-graphicaleffects qt5-quickcontrols2 qt5-svg sddm + sudo systemctl enable sddm.service + git clone https://github.com/shinas101/Anime-sddm-theme.git + cd Anime-sddm-theme + chmod +x ./install.sh + sudo ./install.sh \ No newline at end of file