mirror of
https://github.com/kristoferssolo/karbs.git
synced 2025-10-21 19:00:35 +00:00
system downloading... world downloading... galaxy downloading... lib32 downloading... extra downloading... community downloading... multilib downloading... :: Starting full system upgrade... there is nothing to do :: Looking for AUR upgrades... :: Looking for devel upgrades... :: orphans: speedtest-rs there is nothing to do to
36 lines
933 B
Bash
Executable File
36 lines
933 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo 'Choose installation size: minimal or full'
|
|
read size
|
|
|
|
if pacman -Q paru; then
|
|
echo
|
|
else
|
|
git clone 'https://aur.archlinux.org/paru-bin'
|
|
cd paru
|
|
makepkg -si
|
|
cd ..
|
|
rm -rf paru
|
|
fi
|
|
|
|
FILE = "pkg-files/$size-pkgs.txt"
|
|
|
|
paru -Syu --noconfirm --needed archlinux-keyring
|
|
|
|
if [[ -f "$FILE" ]]; then
|
|
paru -S --noconfirm --needed - <"pkg-files/$size-pkgs.txt"
|
|
else
|
|
curl -LO "https://raw.githubusercontent.com/kristoferssolo/karbs/main/pkg-files/$size-pkgs.txt"
|
|
paru -S --noconfirm --needed - <"$size-pkgs.txt"
|
|
rm "$size"-pkgs.txt
|
|
fi
|
|
|
|
mkdir -p ~/{repos,Downloads,Documents,Videos,Music,Pictures/screenshots}
|
|
git clone 'https://github.com/kristoferssolo/solorice' '~/repos/solorice'
|
|
|
|
cp -rf '~/repos/solorice/.config' ~
|
|
rm -rf '~/.config/awesome/desktop'
|
|
cp -rf '~/repos/solorice/.local' ~
|
|
mv '~/.config/zsh/.zshenv' ~
|
|
git clone 'https://github.com/streetturtle/awesome-wm-widgets' '~/.config/awesome/awesome-wm-widgets'
|