diff options
| author | iceyrazor <iceyrazor@mailfence.com> | 2025-07-24 20:09:13 -0500 |
|---|---|---|
| committer | iceyrazor <iceyrazor@mailfence.com> | 2025-07-24 20:09:13 -0500 |
| commit | 6c9643ba745340c5da9cbf8ed1e1c830f657b907 (patch) | |
| tree | ce224fbc01a991b92bff84f99442387eabdaa072 /runs-all | |
| parent | 4808986b0873c15db21c8c3702b64537fb48463b (diff) | |
changes
- added mediamtx to backup
- removed mpris from awesome. switched to playerctl
- changed autostart to discord
- todo edit
- added choices to get reqs all
- added next and prev workspace
- made aur manager a var
- todo change
Diffstat (limited to 'runs-all')
| -rwxr-xr-x | runs-all/get-reqs-arch.sh | 118 |
1 files changed, 98 insertions, 20 deletions
diff --git a/runs-all/get-reqs-arch.sh b/runs-all/get-reqs-arch.sh index b5734f5..ca8aeea 100755 --- a/runs-all/get-reqs-arch.sh +++ b/runs-all/get-reqs-arch.sh @@ -7,45 +7,123 @@ if [ $artix ] || [ $arch ]; then echo GETTING ALL REQS ARCH - git clone https://aur.archlinux.org/paru.git - cd paru - makepkg -si + # may split later. this will work for now + # cant think of a way of using loops other than awk or something or splitting it into files and doing the same thing i did with runs + # which i may do + doall=0 + xorg=0 + audio=0 + hyprland=0 + vpn=0 + ime=0 + fonts=0 + vr=0 + tools=0 + misc=0 + fun=0 + paru=0 + + read -p "do all? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + doall=1 + else + read -p "paru? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + paru=1 + fi + + read -p "xorg? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + xorg=1 + fi + + read -p "audio? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + audio=1 + fi + + read -p "hyprland? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + hyprland=1 + fi + + read -p "vpn? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + vpn=1 + fi + + read -p "ime? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + ime=1 + fi + + read -p "fonts? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + fonts=1 + fi + + read -p "vr? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + vr=1 + fi + + read -p "tools? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + tools=1 + fi + + read -p "misc? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + misc=1 + fi + + read -p "fun? [y/N]" uin + if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then + fun=1 + fi + fi + + # aur manager + aurm="paru" + if [ $doall == 1 ] || [ $paru == 1 ]; then + git clone https://aur.archlinux.org/paru.git + cd paru + makepkg -si + fi - # read -p "continue? [Y/n]" uin - # [ "$uin" == "n" ] || [ "$uin" == "N" ] && exit 0 # xorg - $sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama + [ $doall == 1 ] || [ $xorg == 1 ] && $sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama # audio - $sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph + [ $doall == 1 ] || [ $audio == 1 ] && $sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph # hyprland - $sudo pacman -S --noconfirm wayland hyprland waybar wlogout hyprlock xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk qt6-wayland qt5-wayland - paru -S --noconfirm dunst-git sddm-theme-tokyo-night-git + [ $doall == 1 ] || [ $hyprland == 1 ] && $sudo pacman -S --noconfirm wayland hyprland waybar wlogout hyprlock xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk qt6-wayland qt5-wayland + [ $doall == 1 ] || [ $hyprland == 1 ] && $aurm -S --noconfirm dunst-git sddm-theme-tokyo-night-git - #vpn stuff - $sudo pacman -S --noconfirm openvpn networkmanager-openvpn openresolv + # vpn stuff + [ $doall == 1 ] || [ $vpn == 1 ] && $sudo pacman -S --noconfirm openvpn networkmanager-openvpn openresolv - #ime - $sudo pacman -S --noconfirm fcitx5-im fcitx5-mozc fcitx5-im-emoji-picker-git + # ime + [ $doall == 1 ] || [ $ime == 1 ] && $sudo pacman -S --noconfirm fcitx5-im fcitx5-mozc fcitx5-im-emoji-picker-git # fonts - $sudo pacman -S --noconfirm font-manager ttf-inconsolata ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji - paru -S --noconfirm ttf-b612 + [ $doall == 1 ] || [ $fonts == 1 ] && $sudo pacman -S --noconfirm font-manager ttf-inconsolata ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji + [ $doall == 1 ] || [ $fonts == 1 ] && $aurm -S --noconfirm ttf-b612 # for vr - $sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch + [ $doall == 1 ] || [ $vr == 1 ] && $sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch # tools - $sudo pacman -S --noconfirm zsh bat ntfs-3g inetutils doas atuin gvfs-mtp btop htop wezterm rxvt-unicode lf ripgrep rofi-wayland networkmanager + [ $doall == 1 ] || [ $tools == 1 ] && $sudo pacman -S --noconfirm zsh bat ntfs-3g inetutils doas atuin gvfs-mtp btop htop wezterm rxvt-unicode lf ripgrep rofi-wayland networkmanager # misc - $sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring seahorse yt-dlp grim slurp libnotify - paru -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview + [ $doall == 1 ] || [ $misc == 1 ] && $sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring seahorse yt-dlp grim slurp libnotify + [ $doall == 1 ] || [ $misc == 1 ] && $aurm -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview # fun - $sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam + [ $doall == 1 ] || [ $fun == 1 ] && $sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam echo --------------- fi |
