From 409e8c4e27b0ce33c4cfa3a2611dc7ea2c4c57c5 Mon Sep 17 00:00:00 2001 From: Kristofers Solo Date: Wed, 11 May 2022 21:31:35 +0300 Subject: [PATCH] Added solorice install --- karbs.sh | 18 +++++++++++++----- pkg-files/minimal-pkgs.txt | 3 ++- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/karbs.sh b/karbs.sh index 86aa7c6..8ca4e53 100755 --- a/karbs.sh +++ b/karbs.sh @@ -12,12 +12,20 @@ else rm -rf paru fi -paru -Syu --noconfirm --needed archlinux-keyring - < /pkg-files/"$size"-pkgs.txt +FILE=pkg-files/"$size"-pkgs.txt +if [[ -f "$FILE" ]]; then + paru -Syu --noconfirm --needed archlinux-keyring - < /pkg-files/"$size"-pkgs.txt +else + wget https://raw.githubusercontent.com/kristoferssolo/karbs/main/pkg-files/"$size"-pkgs.txt + paru -Syu --noconfirm --needed archlinux-keyring - < "$size"-pkgs.txt +fi +mkdir -p ~/repos ~/Downloads ~/Documents ~/Videos ~/Music ~/Pictures/screenshots +git clone https://github.com/kristoferssolo/solorice ~/repos/solorice -cp -rf .config ~ -cp -rf .local ~ -cp -f .cofig/zsh/.zshenv ~ +cp -rf ~/repos/solorice/.config ~ +cp -rf ~/repos/solorice/.local ~ +cp -f ~/repos/solorice/.cofig/zsh/.zshenv ~ git clone https://github.com/streetturtle/awesome-wm-widgets ~/.config/awesome/awesome-wm-widgets -mkdir ~/Pictures ~/Documents ~/Videos ~/Downloads ~/Music + diff --git a/pkg-files/minimal-pkgs.txt b/pkg-files/minimal-pkgs.txt index b7b9e4f..04f0295 100644 --- a/pkg-files/minimal-pkgs.txt +++ b/pkg-files/minimal-pkgs.txt @@ -12,6 +12,7 @@ exa feh ffmpegthumbnailer firefox +flameshot imagemagick opendoas poppler @@ -32,4 +33,4 @@ nsxiv picom-ibhagwan-git vim-plug spaceship-prompt -zsh-fast-syntax-highlighting \ No newline at end of file +zsh-fast-syntax-highlighting