changes to artix-install.sh

chromebook
asdfasdf 2022-03-26 18:56:53 -05:00
parent f51b68c551
commit 3d714746b4
1 changed files with 14 additions and 99 deletions

113
.local/installers/artix-install.sh Normal file → Executable file
View File

@ -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