Squashed commit of the following:
- the splittening. get reqs are now seperate files. and im using a loop
This commit is contained in:
parent
989269f4d5
commit
0574377182
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
# Which monitor should the notifications be displayed on.
|
# Which monitor should the notifications be displayed on.
|
||||||
# i keep having to change this because hyprland ◔̯◔
|
# i keep having to change this because hyprland ◔̯◔
|
||||||
monitor = 0
|
monitor = 1
|
||||||
|
|
||||||
# Display notification on focused monitor. Possible modes are:
|
# Display notification on focused monitor. Possible modes are:
|
||||||
# mouse: follow mouse pointer
|
# mouse: follow mouse pointer
|
||||||
|
|
|
@ -66,8 +66,8 @@ vim.keymap.set('n', '<leader>tp', ':tabp<CR>')
|
||||||
vim.keymap.set("n", "<leader>ee", "oif err != nil {<CR>}<Esc>Oreturn err<Esc>")
|
vim.keymap.set("n", "<leader>ee", "oif err != nil {<CR>}<Esc>Oreturn err<Esc>")
|
||||||
|
|
||||||
-- terminal niceites
|
-- terminal niceites
|
||||||
vim.keymap.set("n", "<C-;>", ":", { desc = "Enter command mode" })
|
-- vim.keymap.set("n", "<C-;>", ":", { desc = "Enter command mode" })
|
||||||
vim.keymap.set("v", "<C-;>", ":", { desc = "Enter command mode (visual)" })
|
-- vim.keymap.set("v", "<C-;>", ":", { desc = "Enter command mode (visual)" })
|
||||||
vim.keymap.set("t", "<C-e>", "<C-\\><C-n>", { desc = "Exit terminal" })
|
vim.keymap.set("t", "<C-e>", "<C-\\><C-n>", { desc = "Exit terminal" })
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -6,123 +6,37 @@ if [ "$ID" == "artix" ] || [ "$ID" == "arch" ]; then
|
||||||
|
|
||||||
echo GETTING ALL REQS ARCH
|
echo GETTING ALL REQS ARCH
|
||||||
|
|
||||||
# may split later. this will work for now
|
#aur
|
||||||
# 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
|
install_aur=0
|
||||||
# which i may do
|
read -p "install aur manager? [y/N]" uin
|
||||||
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
|
if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then
|
||||||
doall=1
|
install_aur=1
|
||||||
else
|
|
||||||
read -p "paru? [y/N]" uin
|
|
||||||
if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then
|
|
||||||
paru=1
|
|
||||||
fi
|
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"
|
aurm="paru"
|
||||||
if [ $doall == 1 ] || [ $paru == 1 ]; then
|
if [ $install_aur == 1 ]; then
|
||||||
git clone https://aur.archlinux.org/paru.git
|
git clone https://aur.archlinux.org/paru.git
|
||||||
cd paru
|
cd paru
|
||||||
makepkg -si
|
makepkg -si
|
||||||
fi
|
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
|
for s in $reqs_dir; do
|
||||||
[ $doall == 1 ] || [ $xorg == 1 ] && $sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama
|
read -p "$s? [y/N]" uin
|
||||||
|
if [ "$uin" == "y" ] || [ "$uin" == "Y" ]; then
|
||||||
|
reqs_list+=("$s")
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
echo --------------
|
||||||
|
|
||||||
# audio
|
#install
|
||||||
[ $doall == 1 ] || [ $audio == 1 ] && $sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph
|
for s in "${reqs_list[@]}"; do
|
||||||
|
echo "running $s"
|
||||||
# hyprland
|
. "$s"
|
||||||
[ $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
|
done
|
||||||
[ $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
|
|
||||||
|
|
||||||
# fun
|
|
||||||
[ $doall == 1 ] || [ $fun == 1 ] && $sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam
|
|
||||||
|
|
||||||
echo ---------------
|
echo ---------------
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
$sudo pacman -S --noconfirm pipewire-pulse pipewire-alsa pipewire-jack qpwgraph
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
$sudo pacman -S --noconfirm cli11 eigen glib2 glib2-devel nlohmann-json patch
|
|
@ -0,0 +1 @@
|
||||||
|
$sudo pacman -S --noconfirm fastfetch cmus vlc cowsay openrgb steam
|
|
@ -0,0 +1,2 @@
|
||||||
|
$sudo pacman -S --noconfirm hyprland xdg-desktop-portal-hyprland
|
||||||
|
. wayland.sh
|
|
@ -0,0 +1 @@
|
||||||
|
$sudo pacman -S --noconfirm fcitx5-im fcitx5-mozc fcitx5-im-emoji-picker-git
|
|
@ -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
|
|
@ -0,0 +1,2 @@
|
||||||
|
$sudo pacman -S --noconfirm xdg-desktop-portal-wlr sway
|
||||||
|
. wayland.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
|
|
@ -0,0 +1 @@
|
||||||
|
$sudo pacman -S --noconfirm openvpn networkmanager-openvpn openresolv
|
|
@ -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
|
|
@ -0,0 +1 @@
|
||||||
|
$sudo pacman -S --noconfirm xorg-server xorg-xinit libxft libxinerama
|
Loading…
Reference in New Issue