From 3d714746b43c0ee9dd22158d634b58b618406fd7 Mon Sep 17 00:00:00 2001 From: asdfasdf Date: Sat, 26 Mar 2022 18:56:53 -0500 Subject: [PATCH] changes to artix-install.sh --- .local/installers/artix-install.sh | 113 ++++------------------------- 1 file changed, 14 insertions(+), 99 deletions(-) mode change 100644 => 100755 .local/installers/artix-install.sh diff --git a/.local/installers/artix-install.sh b/.local/installers/artix-install.sh old mode 100644 new mode 100755 index 4939169..2248021 --- a/.local/installers/artix-install.sh +++ b/.local/installers/artix-install.sh @@ -1,103 +1,7 @@ #!/bin/sh -PKGS="pipewire -pipewire-alsa -pipewire-pulse -pipewire-jack -gst-plugin-pipewire -wireplumber -wireplumber-docs -alsa-utils -pacman-contrib -man-db -freetype2 -gst-libav -xdg-utils -xdg-user-dirs -fuse -python-urwid -btrfs-progs -reiserfsprogs -chrony -ufw -wget -curl -zip -unzip -p7zip -dash -mesa -rsync -cronie -connman -fakeroot -socklog -python-pip -udevil -pavucontrol -connman-gtk -youtube-dl -transmission-cli -neovim -mpd -mpv -opendoas -zsh -clang -librewolf -shellcheck -noto-fonts -noto-fonts-emoji -noto-fonts-cjk -lxappearance -qt5ct -imagemagick -ffmpegthumbnailer -python-pywal -pulsemixer -pamixer -papirus-icon-theme -python-pdftotext -viu -bat -zathura -zathura-cb -zathura-djvu -zathura-pdf-mupdf -sway -swaybg -swayidle -swaylock -waybar -bemenu-wayland -mako -wl-clipboard -grim -slurp -xorg-xwayland -alacritty -gammastep -ufw-runit -cronie-runit -chrony-runit -connman-runit" -AUR_PKGS="lf -mutt-wizard -htim -jmtpfs -tremc-git -dashbinsh -pfetch -sysrq-enabler -wlr-randr -sfeed" - -GIT_REPOS=" -https://github.com/aarowill/base16-alacritty.git -https://github.com/rkubosz/base16-sway.git" - GIT_REPOS_DIR="$HOME/.local/src/" @@ -155,7 +59,7 @@ install_git_repos() { mkdir -p "$GIT_REPOS_DIR" cd "$GIT_REPOS_DIR" - for REPO in $GIT_REPOS + for REPO in "$@" do git clone "$REPO" done @@ -356,10 +260,10 @@ base() { enable_repos #install all packages in $PKGS - echo "$PKGS" | pacman -S - + pacman -S - < ./pkgs/base.list #installl all packages in $AUR_PKGS - echo "$AUR_PKGS" | yay -S - + yay -S - < ./pkgs/aur.list #setup local git repos defined in $GIT_REPOS to $GIT_REPOS_DIR install_git_repos @@ -387,6 +291,15 @@ base() { } +help() { + echo " artix-install.sh" + echo " --base perform basic install. Enable repos, install programs" + echo " --gaming install steam and lutris" + echo " --virt-manager install virt-manager" + echo " --wireless install/setup programs for wifi/bluetooth" + echo " --ungoogled-chromium install ungoogled-chromium. also installs chrome-web-store and ublock origin" +} + BASE="" GAMING="" WIRELESS="" @@ -400,6 +313,8 @@ do [ "$arg" = "--virt-manager" ] && VIRTMGR="true" [ "$arg" = "--wireless" ] && WIRELESS="true" [ "$arg" = "--ungoogled-chromium" ] && UNGOOGLED_CHROMIUM="true" + [ "$arg" = "--help" ] && help && exit + done