From 5cea51699f13d5c3f9079c6e06099c106a4aed04 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Sun, 28 Aug 2022 21:54:42 +0300 Subject: [PATCH] Update karbs --- templates/karbs/instructions.html | 2 +- templates/karbs/karbs.sh | 23 +++++++++++------------ 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/templates/karbs/instructions.html b/templates/karbs/instructions.html index 30fcaf6..2d3ba2c 100644 --- a/templates/karbs/instructions.html +++ b/templates/karbs/instructions.html @@ -28,7 +28,7 @@ sh karbs.sh

What does KARBS install?


-

You can check out the programs list that KARBS parses for installation right here!

+

You can check out the programs list that KARBS parses for installation right here!

Here is some idea of the programs installed:

diff --git a/templates/karbs/karbs.sh b/templates/karbs/karbs.sh index 7fb52bf..c9c35bf 100755 --- a/templates/karbs/karbs.sh +++ b/templates/karbs/karbs.sh @@ -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