aboutsummaryrefslogtreecommitdiff
path: root/runs-all
diff options
context:
space:
mode:
authoriceyrazor <iceyrazor@mailfence.com>2025-07-29 19:08:43 -0500
committericeyrazor <iceyrazor@mailfence.com>2025-07-29 19:08:43 -0500
commit0574377182f28a8449b1955d287bfa27cfc3fe88 (patch)
treec86bfcd5e1df50dc237c7456290f778ddc8c0c2f /runs-all
parent989269f4d5a0d3834bab3003cc557a5df5dbc13e (diff)
Squashed commit of the following:
- the splittening. get reqs are now seperate files. and im using a loop
Diffstat (limited to 'runs-all')
-rwxr-xr-xruns-all/get-reqs-arch.sh126
-rwxr-xr-xruns-all/get-reqs-arch/audio.sh1
-rwxr-xr-xruns-all/get-reqs-arch/fonts.sh2
-rwxr-xr-xruns-all/get-reqs-arch/for-vr.sh1
-rwxr-xr-xruns-all/get-reqs-arch/fun.sh1
-rwxr-xr-xruns-all/get-reqs-arch/hyprland.sh2
-rwxr-xr-xruns-all/get-reqs-arch/ime.sh1
-rwxr-xr-xruns-all/get-reqs-arch/misc.sh2
-rwxr-xr-xruns-all/get-reqs-arch/sway.sh2
-rwxr-xr-xruns-all/get-reqs-arch/tools.sh1
-rwxr-xr-xruns-all/get-reqs-arch/vpn-stuff.sh1
-rwxr-xr-xruns-all/get-reqs-arch/wayland.sh2
-rwxr-xr-xruns-all/get-reqs-arch/xorg.sh1
13 files changed, 37 insertions, 106 deletions
diff --git a/runs-all/get-reqs-arch.sh b/runs-all/get-reqs-arch.sh
index 8ae0961..4f404d4 100755
--- a/runs-all/get-reqs-arch.sh
+++ b/runs-all/get-reqs-arch.sh
@@ -6,123 +6,37 @@ if [ "$ID" == "artix" ] || [ "$ID" == "arch" ]; then
echo GETTING ALL REQS ARCH
- # 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
+ #aur
+ install_aur=0
+ read -p "install aur manager? [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
+ install_aur=1
fi
- # aur manager
aurm="paru"
- if [ $doall == 1 ] || [ $paru == 1 ]; then
+ if [ $install_aur == 1 ]; then
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si
fi
+ #ask what to install
+ reqs_dir="$(find $script_dir/runs-all/get-reqs-arch -mindepth 1 -maxdepth 1 -type f -executable)"
+ reqs_list=()
- # xorg
- [ $doall == 1 ] || [ $xorg == 1 ] && $sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama
-
- # audio
- [ $doall == 1 ] || [ $audio == 1 ] && $sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph
-
- # hyprland
- [ $doall == 1 ] || [ $hyprland == 1 ] && $sudo pacman -S --noconfirm wayland hyprland waybar wlogout hyprlock xdg-desktop-portal xdg-desktop-portal-hyprland xdg-desktop-portal-gtk xdg-desktop-portal-wlr qt6-wayland qt5-wayland sway
- [ $doall == 1 ] || [ $hyprland == 1 ] && $aurm -S --noconfirm dunst-git sddm-theme-tokyo-night-git
-
- # vpn stuff
- [ $doall == 1 ] || [ $vpn == 1 ] && $sudo pacman -S --noconfirm openvpn networkmanager-openvpn openresolv
-
- # ime
- [ $doall == 1 ] || [ $ime == 1 ] && $sudo pacman -S --noconfirm fcitx5-im fcitx5-mozc fcitx5-im-emoji-picker-git
-
- # fonts
- [ $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
- [ $doall == 1 ] || [ $vr == 1 ] && $sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch
-
- # tools
- [ $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
- [ $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
+ for s in $reqs_dir; do
+ read -p "$s? [y/N]" uin
+ if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then
+ reqs_list+=("$s")
+ fi
+ done
+ echo --------------
- # fun
- [ $doall == 1 ] || [ $fun == 1 ] && $sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam
+ #install
+ for s in "${reqs_list[@]}"; do
+ echo "running $s"
+ . "$s"
+ done
echo ---------------
fi
diff --git a/runs-all/get-reqs-arch/audio.sh b/runs-all/get-reqs-arch/audio.sh
new file mode 100755
index 0000000..1662941
--- /dev/null
+++ b/runs-all/get-reqs-arch/audio.sh
@@ -0,0 +1 @@
+$sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph
diff --git a/runs-all/get-reqs-arch/fonts.sh b/runs-all/get-reqs-arch/fonts.sh
new file mode 100755
index 0000000..6fa3410
--- /dev/null
+++ b/runs-all/get-reqs-arch/fonts.sh
@@ -0,0 +1,2 @@
+$sudo pacman -S --noconfirm font-manager ttf-inconsolata ttf-jetbrains-mono ttf-jetbrains-mono-nerd noto-fonts-emoji
+$aurm -S --noconfirm ttf-b612
diff --git a/runs-all/get-reqs-arch/for-vr.sh b/runs-all/get-reqs-arch/for-vr.sh
new file mode 100755
index 0000000..938f030
--- /dev/null
+++ b/runs-all/get-reqs-arch/for-vr.sh
@@ -0,0 +1 @@
+$sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch
diff --git a/runs-all/get-reqs-arch/fun.sh b/runs-all/get-reqs-arch/fun.sh
new file mode 100755
index 0000000..fec9793
--- /dev/null
+++ b/runs-all/get-reqs-arch/fun.sh
@@ -0,0 +1 @@
+$sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam
diff --git a/runs-all/get-reqs-arch/hyprland.sh b/runs-all/get-reqs-arch/hyprland.sh
new file mode 100755
index 0000000..7810582
--- /dev/null
+++ b/runs-all/get-reqs-arch/hyprland.sh
@@ -0,0 +1,2 @@
+$sudo pacman -S --noconfirm hyprland xdg-desktop-portal-hyprland
+. wayland.sh
diff --git a/runs-all/get-reqs-arch/ime.sh b/runs-all/get-reqs-arch/ime.sh
new file mode 100755
index 0000000..a389271
--- /dev/null
+++ b/runs-all/get-reqs-arch/ime.sh
@@ -0,0 +1 @@
+$sudo pacman -S --noconfirm fcitx5-im fcitx5-mozc fcitx5-im-emoji-picker-git
diff --git a/runs-all/get-reqs-arch/misc.sh b/runs-all/get-reqs-arch/misc.sh
new file mode 100755
index 0000000..b85e738
--- /dev/null
+++ b/runs-all/get-reqs-arch/misc.sh
@@ -0,0 +1,2 @@
+$sudo pacman -S --noconfirm v4l2loopback-dkms sddm lxappearance reflector gnome-keyring seahorse yt-dlp grim slurp libnotify
+$aurm -S --noconfirm obs-studio-git gpu-screen-recorder gpu-screen-recorder-gtk urlview
diff --git a/runs-all/get-reqs-arch/sway.sh b/runs-all/get-reqs-arch/sway.sh
new file mode 100755
index 0000000..14f5aa1
--- /dev/null
+++ b/runs-all/get-reqs-arch/sway.sh
@@ -0,0 +1,2 @@
+$sudo pacman -S --noconfirm xdg-desktop-portal-wlr sway
+. wayland.sh
diff --git a/runs-all/get-reqs-arch/tools.sh b/runs-all/get-reqs-arch/tools.sh
new file mode 100755
index 0000000..5fa807f
--- /dev/null
+++ b/runs-all/get-reqs-arch/tools.sh
@@ -0,0 +1 @@
+$sudo pacman -S --noconfirm zsh bat ntfs-3g inetutils doas atuin gvfs-mtp btop htop wezterm rxvt-unicode lf ripgrep rofi-wayland networkmanager
diff --git a/runs-all/get-reqs-arch/vpn-stuff.sh b/runs-all/get-reqs-arch/vpn-stuff.sh
new file mode 100755
index 0000000..3c8529a
--- /dev/null
+++ b/runs-all/get-reqs-arch/vpn-stuff.sh
@@ -0,0 +1 @@
+$sudo pacman -S --noconfirm openvpn networkmanager-openvpn openresolv
diff --git a/runs-all/get-reqs-arch/wayland.sh b/runs-all/get-reqs-arch/wayland.sh
new file mode 100755
index 0000000..3455bc3
--- /dev/null
+++ b/runs-all/get-reqs-arch/wayland.sh
@@ -0,0 +1,2 @@
+$sudo pacman -S --noconfirm wayland waybar wlogout hyprlock xdg-desktop-portal xdg-desktop-portal-gtk qt6-wayland qt5-wayland
+$aurm -S --noconfirm dunst-git sddm-theme-tokyo-night-git
diff --git a/runs-all/get-reqs-arch/xorg.sh b/runs-all/get-reqs-arch/xorg.sh
new file mode 100755
index 0000000..2a37188
--- /dev/null
+++ b/runs-all/get-reqs-arch/xorg.sh
@@ -0,0 +1 @@
+$sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama