Update karbs

This commit is contained in:
Kristofers Solo 2022-08-28 21:54:42 +03:00
parent 2a3b5bccbf
commit 5cea51699f
2 changed files with 12 additions and 13 deletions

View File

@ -28,7 +28,7 @@ sh karbs.sh</code></pre>
<h2>What does KARBS install?</h2><hr>
<p>You can check out the programs list that KARBS parses for installation <a href="https://github.com/kristoferssolo/karbs/blob/main/pkg-files/minimal-pkgs.txt" target="_blank">right here</a>!</p>
<p>You can check out the programs list that KARBS parses for installation <a href="https://github.com/kristoferssolo/karbs/blob/main/pkg-files/minimal-pkgs" target="_blank">right here</a>!</p>
<p>Here is some idea of the programs installed:</p>

View File

@ -3,24 +3,24 @@ echo 'Choose installation size: minimal or full'
read size
if pacman -Q paru; then
echo
echo
else
sudo pacman -S --noconfirm rust
git clone 'https://aur.archlinux.org/paru-bin'
cd paru-bin
makepkg -si
cd ..
rm -rf paru-bin
git clone 'https://aur.archlinux.org/paru-bin'
cd paru-bin
makepkg -si
cd ..
rm -rf paru-bin
fi
FILE = "pkg-files/$size-pkgs.txt"
if [[ -f "$FILE" ]]; then
paru -Syu --noconfirm --needed - <"pkg-files/$size-pkgs.txt"
paru -Syu --noconfirm --needed - < "pkg-files/$size-pkgs"
else
curl -LO "https://raw.githubusercontent.com/kristoferssolo/karbs/main/pkg-files/$size-pkgs.txt"
paru -Syu --noconfirm --needed - <"$size-pkgs.txt"
rm "$size"-pkgs.txt
curl -LO "https://raw.githubusercontent.com/kristoferssolo/karbs/main/pkg-files/$size-pkgs"
paru -Syu --noconfirm --needed - < "$size-pkgs"
rm "$size"-pkgs
fi
mkdir -p "$HOME"/{repos,Downloads,Documents,Videos,Music,Pictures/screenshots}
@ -30,11 +30,10 @@ cp -rf "$HOME/repos/solorice/.config" "$HOME"
rm -rf "$HOME/.config/awesome/desktop"
touch "$HOME/.config/awesome/weather"
cp -rf "$HOME/repos/solorice/.local" "$HOME"
ln -rfs "$HOME/.config/zsh/.zshenv" "$HOME"
ln -sf "$HOME/.config/zsh/.zshenv" "$HOME"
git clone 'https://github.com/streetturtle/awesome-wm-widgets' "$HOME/.config/awesome/awesome-wm-widgets"
chsh -s /bin/zsh
sudo chmod +s /usr/bin/reboot
echo
echo