From fb562670c4a43f3327b6992f5e10d945d0b9ea92 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Sat, 5 Feb 2022 23:37:11 +0100 Subject: . --- install.sh | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'install.sh') diff --git a/install.sh b/install.sh index 4d9ee13..4cce69f 100755 --- a/install.sh +++ b/install.sh @@ -6,13 +6,6 @@ symlink () { ln -sfT "$@" } -install_packages() { - yay -S --needed --noconfirm \ - $(cat $1 | \ - xargs -I{} sh -c \ - "(pacman -Q {} &> /dev/null) || echo {}") -} - install_python() { LONG=$1 SHORT=${LONG//\./} @@ -48,8 +41,6 @@ mkdir -p ~/repos mkdir -p ~/.local/share/applications mkdir -p ~/.local/share/icons/hicolor/128x128/apps symlink $(cd $(dirname "$0"); pwd -P) ~/.dotfiles -yay --save --sudo doas -install_packages ~/.dotfiles/packages.txt # alacritty symlink ~/.dotfiles/alacritty ~/.config/alacritty @@ -187,3 +178,6 @@ symlink ~/.dotfiles/xorg/.xinitrc ~/.xinitrc symlink ~/.dotfiles/xorg/.Xresources ~/.Xresources symlink ~/.dotfiles/xorg/loadxresources ~/bin/loadxresources symlink ~/.dotfiles/xorg/setwallpaper ~/bin/setwallpaper + +# yay +yay --save --sudo doas -- cgit v1.2.3-70-g09d2